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:
parent
39f27d49b6
commit
55c30b5a9d
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ location __PATH__/ {
|
|||
proxy_pass http://localhost:__PORT__;
|
||||
|
||||
location ~* \.(css|js)$ {
|
||||
root __FINALPATH__/mobilizon/priv/static;
|
||||
root __FINALPATH__/__APP__/priv/static;
|
||||
etag off;
|
||||
access_log off;
|
||||
more_set_headers "Cache-Control: public, max-age=31536000, immutable";
|
||||
|
@ -38,6 +38,6 @@ location __PATH__/ {
|
|||
}
|
||||
|
||||
location @error {
|
||||
root __FINALPATH__/mobilizon/priv/errors;
|
||||
root __FINALPATH__/__APP__/priv/errors;
|
||||
try_files /error.html 502;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue