fix
This commit is contained in:
parent
01f490f10f
commit
8f350225a4
@ -31,8 +31,10 @@ for host in hosts:
|
|||||||
add_header Referrer-Policy "no-refferer-when-downgrade" always;
|
add_header Referrer-Policy "no-refferer-when-downgrade" always;
|
||||||
add_header Content-Security-Policy "default-src * data: 'unsafe-eval' 'unsafe-inline'" always;
|
add_header Content-Security-Policy "default-src * data: 'unsafe-eval' 'unsafe-inline'" always;
|
||||||
|
|
||||||
|
set $pre_domain {pre_domain};
|
||||||
|
|
||||||
location / {{
|
location / {{
|
||||||
proxy_pass http://{pre_domain}-nginx:1238$request_uri;
|
proxy_pass http://$pre_domain-nginx:1238$request_uri;
|
||||||
}}
|
}}
|
||||||
}}\n\n
|
}}\n\n
|
||||||
'''.format(host=host, pre_domain=host.split('.')[0])
|
'''.format(host=host, pre_domain=host.split('.')[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user