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:
parent
6262b5dbde
commit
106d86a266
1 changed files with 3 additions and 3 deletions
|
@ -2,17 +2,17 @@
|
||||||
# https://github.com/WeblateOrg/weblate/blob/master/weblate/examples/weblate.nginx.conf
|
# https://github.com/WeblateOrg/weblate/blob/master/weblate/examples/weblate.nginx.conf
|
||||||
location ~ ^__PATH__/favicon.ico$ {
|
location ~ ^__PATH__/favicon.ico$ {
|
||||||
|
|
||||||
alias __INSTALL_DIR__/data/cache/static/favicon.ico;
|
alias __INSTALL_DIR__/cache/static/favicon.ico;
|
||||||
expires 30d;
|
expires 30d;
|
||||||
}
|
}
|
||||||
|
|
||||||
location __PATH__/static/ {
|
location __PATH__/static/ {
|
||||||
alias __INSTALL_DIR__/data/cache/static/;
|
alias __INSTALL_DIR__/cache/static/;
|
||||||
expires 30d;
|
expires 30d;
|
||||||
}
|
}
|
||||||
|
|
||||||
location __PATH__/media/ {
|
location __PATH__/media/ {
|
||||||
alias __INSTALL_DIR__/data/media/;
|
alias __INSTALL_DIR__/media/;
|
||||||
expires 30d;
|
expires 30d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue