1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00

fix nginx since settings changes

This commit is contained in:
Thomas 2024-01-20 18:50:59 +01:00 committed by GitHub
parent 6262b5dbde
commit 106d86a266
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,17 +2,17 @@
# https://github.com/WeblateOrg/weblate/blob/master/weblate/examples/weblate.nginx.conf
location ~ ^__PATH__/favicon.ico$ {
alias __INSTALL_DIR__/data/cache/static/favicon.ico;
alias __INSTALL_DIR__/cache/static/favicon.ico;
expires 30d;
}
location __PATH__/static/ {
alias __INSTALL_DIR__/data/cache/static/;
alias __INSTALL_DIR__/cache/static/;
expires 30d;
}
location __PATH__/media/ {
alias __INSTALL_DIR__/data/media/;
alias __INSTALL_DIR__/media/;
expires 30d;
}