Compare commits

..

No commits in common. "c04cad97129aadf863197e8bfb7e6eaa5bf79b71" and "fd030ea07e72dad0f589c2e384e7b5874332a8a4" have entirely different histories.

View File

@ -31,9 +31,10 @@ for host in hosts:
add_header Referrer-Policy "no-refferer-when-downgrade" always;
add_header Content-Security-Policy "default-src * data: 'unsafe-eval' 'unsafe-inline'" always;
set $pre_domain {pre_domain};
location / {{
resolver 1.1.1.1 8.8.8.8;
proxy_pass http://{pre_domain}-nginx:1238$request_uri;
proxy_pass http://$pre_domain-nginx:1238$request_uri;
}}
}}\n\n
'''.format(host=host, pre_domain=host.split('.')[0])