mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 19:42:37 +02:00
Add static endpoint in nginx
This commit is contained in:
parent
58f727fcac
commit
e69bc23c15
1 changed files with 4 additions and 1 deletions
|
@ -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/;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue