mirror of
https://github.com/YunoHost-Apps/mobilizon_ynh.git
synced 2024-09-03 19:46:19 +02:00
add_header -> more_set_headers
This commit is contained in:
parent
952f62c061
commit
02c7d136f6
1 changed files with 2 additions and 2 deletions
|
@ -21,13 +21,13 @@ location / {
|
||||||
root __FINALPATH__/mobilizon/priv/static;
|
root __FINALPATH__/mobilizon/priv/static;
|
||||||
etag off;
|
etag off;
|
||||||
access_log off;
|
access_log off;
|
||||||
add_header Cache-Control "public, max-age=31536000, immutable";
|
more_set_headers "Cache-Control: public, max-age=31536000, immutable";
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/(media|proxy) {
|
location ~ ^/(media|proxy) {
|
||||||
etag off;
|
etag off;
|
||||||
access_log off;
|
access_log off;
|
||||||
add_header Cache-Control "public, max-age=31536000, immutable";
|
more_set_headers "Cache-Control: public, max-age=31536000, immutable";
|
||||||
proxy_pass http://localhost:__PORT__;
|
proxy_pass http://localhost:__PORT__;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue