1
0
Fork 0
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:
Alexandre Aubin 2020-10-26 17:17:17 +01:00
parent 952f62c061
commit 02c7d136f6

View file

@ -21,13 +21,13 @@ location / {
root __FINALPATH__/mobilizon/priv/static;
etag 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) {
etag 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__;
}