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

more_set_headers for nginx

This commit is contained in:
Kayou 2019-03-20 00:32:40 +01:00
parent 25d73a472c
commit 9419b1e137
No known key found for this signature in database
GPG key ID: 823A2CBE071D3126

View file

@ -11,8 +11,8 @@ location __PATH__ {
client_max_body_size __MAX_FILE_SIZE__M;
if ($request_uri ~* ^/(img|css|font|js)/) {
add_header Expires "Thu, 31 Dec 2037 23:55:55 GMT";
add_header Cache-Control "public, max-age=315360000";
more_set_headers Expires "Thu, 31 Dec 2037 23:55:55 GMT";
more_set_headers Cache-Control "public, max-age=315360000";
}
proxy_pass http://127.0.0.1:__PORT____PATH__;