chainetv/templates/nginx/chainetv.default.j2

10 lines
363 B
Plaintext
Raw Normal View History

2019-04-25 19:59:52 +00:00
location /chainetv {
alias /srv/chainetv_web/dist;
}
location /chainetv/api {
proxy_pass http://unix:/run/gunicorn/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 /chainetv;
}