Compare commits
No commits in common. "fd030ea07e72dad0f589c2e384e7b5874332a8a4" and "3adc86e8eb3ffc07a2e9c72e188652f0a79ba6f4" have entirely different histories.
fd030ea07e
...
3adc86e8eb
@ -31,10 +31,8 @@ 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