1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/scovie_ynh.git synced 2024-09-03 20:16:29 +02:00

fix public directory

This commit is contained in:
André Théo LAURET 2024-04-18 09:20:51 +02:00 committed by GitHub
parent fb4928d5c0
commit 725371108a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,13 +2,11 @@
location __PATH__/static/ {
# Service static files by nginx
# e.g.: /var/www/$app/static
alias __INSTALL_DIR__/static/;
alias __INSTALL_DIR__/public/static/;
expires 30d;
}
location __PATH__/ {
# https://github.com/benoitc/gunicorn/blob/master/examples/nginx.conf
# this is needed if you have file import via upload enabled
client_max_body_size 100M;