10 lines
363 B
Django/Jinja
10 lines
363 B
Django/Jinja
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;
|
|
} |