master #155
@@ -39,6 +39,7 @@ for host, params in hosts.items():
|
|||||||
ssl_certificate /etc/nginx/{host}/fullchain.pem;
|
ssl_certificate /etc/nginx/{host}/fullchain.pem;
|
||||||
ssl_certificate_key /etc/nginx/{host}/privkey.pem;
|
ssl_certificate_key /etc/nginx/{host}/privkey.pem;
|
||||||
|
|
||||||
|
proxy_http_version 1.1;
|
||||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||||
add_header X-XSS-Protection "1; mode=block" always;
|
add_header X-XSS-Protection "1; mode=block" always;
|
||||||
add_header X-Content-Type-Options "nosniff" always;
|
add_header X-Content-Type-Options "nosniff" always;
|
||||||
@@ -50,7 +51,7 @@ for host, params in hosts.items():
|
|||||||
|
|
||||||
location / {{
|
location / {{
|
||||||
resolver 127.0.0.11;
|
resolver 127.0.0.11;
|
||||||
proxy_pass http://{target_host}:{port}$request_uri;
|
proxy_pass http://{target_host}:{port};
|
||||||
}}
|
}}
|
||||||
}}\n\n
|
}}\n\n
|
||||||
""".format(
|
""".format(
|
||||||
|
|||||||
Reference in New Issue
Block a user