htz-cloud.pirmasens: use domain_aliases to redirect to main domain
This commit is contained in:
parent
b60fb4ff60
commit
9df3e5539d
1 changed files with 4 additions and 11 deletions
|
@ -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': {
|
||||
|
|
Loading…
Reference in a new issue