pretalx: fix static directory
This commit is contained in:
parent
d5d762f73e
commit
02496ae591
@ -13,6 +13,7 @@
|
||||
- /opt/pretalx
|
||||
- /opt/pretalx/data
|
||||
- /opt/pretalx/data/media
|
||||
- /opt/pretalx/static
|
||||
|
||||
- name: Install dependencies
|
||||
apt:
|
||||
|
@ -1,5 +1,6 @@
|
||||
[filesystem]
|
||||
data = /opt/pretalx/data
|
||||
static = /opt/pretalx/static
|
||||
|
||||
[site]
|
||||
debug = False
|
||||
|
@ -40,7 +40,7 @@ server {
|
||||
}
|
||||
|
||||
location /static/ {
|
||||
alias /opt/pretalx/venv/lib/python3.11/site-packages/pretalx/static.dist/;
|
||||
alias /opt/pretalx/static/;
|
||||
access_log off;
|
||||
expires 365d;
|
||||
add_header Cache-Control "public";
|
||||
|
Loading…
Reference in New Issue
Block a user