htz-cloud.pirmasens: use domain_aliases to redirect to main domain

This commit is contained in:
Franzi 2024-02-18 21:21:51 +01:00
parent b60fb4ff60
commit 9df3e5539d
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -37,25 +37,18 @@ nodes['htz-cloud.pirmasens'] = {
},
'nginx': {
'vhosts': {
'salonkatrin-v1': {
'domain': 'old.salonkatrin.de',
},
'salonkatrin-v2': {
'domain': 'salonkatrin.de',
'domain_aliases': {
'www.salonkatrin.de',
'old.salonkatrin.de',
},
'website_check_path': '/',
'website_check_string': 'Salon Katrin',
'webroot_config': {
'owner': 'forgejo-carlene',
},
},
'salonkatrin-www': {
'domain': 'www.salonkatrin.de',
'locations': {
'/': {
'redirect': 'https://salonkatrin.de$request_uri',
},
},
},
},
},
'php': {