commit
c04cad9712
@ -31,10 +31,9 @@ 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;
|
resolver 1.1.1.1 8.8.8.8;
|
||||||
|
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