chainetv/templates/nginx/chainetv.default.j2

12 lines
390 B
Plaintext
Raw Permalink Normal View History

2019-04-26 12:04:48 +00:00
location /{{name}}/static {
alias {{source_location}}dist/static;
2019-04-25 19:59:52 +00:00
}
2019-04-26 12:04:48 +00:00
location /{{name}} {
proxy_pass http://unix:/run/gunicorn-{{name}}/socket:/;
#proxy_set_header Host $host;
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_set_header X-Scheme $scheme;
#proxy_set_header X-Script-Name /{{name}}
}