Add static endpoint in nginx

This commit is contained in:
Yohan Boniface 2019-03-24 16:28:52 +01:00
parent 58f727fcac
commit e69bc23c15

View file

@ -1,6 +1,9 @@
root /srv/copanier;
location /static/ {
alias /srv/copanier/venv/lib/python3.7/site-packages/copanier/static/;
}
location / {
proxy_pass http://copanier/;
}