1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mobilizon_ynh.git synced 2024-09-03 19:46:19 +02:00

nginx fix

This commit is contained in:
yalh76 2021-07-31 00:15:47 +02:00
parent 39f27d49b6
commit 55c30b5a9d

View file

@ -18,7 +18,7 @@ location __PATH__/ {
proxy_pass http://localhost:__PORT__; proxy_pass http://localhost:__PORT__;
location ~* \.(css|js)$ { location ~* \.(css|js)$ {
root __FINALPATH__/mobilizon/priv/static; root __FINALPATH__/__APP__/priv/static;
etag off; etag off;
access_log off; access_log off;
more_set_headers "Cache-Control: public, max-age=31536000, immutable"; more_set_headers "Cache-Control: public, max-age=31536000, immutable";
@ -38,6 +38,6 @@ location __PATH__/ {
} }
location @error { location @error {
root __FINALPATH__/mobilizon/priv/errors; root __FINALPATH__/__APP__/priv/errors;
try_files /error.html 502; try_files /error.html 502;
} }