Updated the web nginx.conf and the source is not given in the readme. Restricted to gondor. Webserver image and container names are now picked from the vars file.
21 lines
520 B
Django/Jinja
21 lines
520 B
Django/Jinja
server {
|
|
|
|
listen 80;
|
|
server_name {{ http_host }};
|
|
|
|
# set max upload size
|
|
client_max_body_size 10G;
|
|
|
|
location / {
|
|
|
|
proxy_set_header Host $host:$server_port;
|
|
proxy_set_header X-Scheme $scheme;
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive" always;
|
|
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
|
|
proxy_pass http://localhost:9080;
|
|
}
|
|
|
|
}
|
|
|