pis #1

Closed
fred.boniface wants to merge 51 commits from pis into dev
1 changed files with 3 additions and 6 deletions
Showing only changes of commit b2ae31cad1 - Show all commits

View File

@ -39,8 +39,7 @@ http {
gzip_static on;
brotli_static on;
error_page 404 /404.html;
expires 2d;
add_header Cache-Control "public, no-transform";
add_header Cache-Control "public, no-transform, max-age=1209600";
}
location /api/ {
@ -48,8 +47,7 @@ http {
proxy_cache_key $scheme://$host$uri$is_args$query_string;
proxy_ignore_headers Cache-Control;
proxy_cache_valid 200 2m; # Evaluate whether 2m or 1m is more appropriate
expires 2m;
add_header Cache-Control "private, no-transform";
add_header Cache-Control "private, no-transform, max-age=120";
}
location /api/v1/list/ {
@ -57,8 +55,7 @@ http {
proxy_cache_key $scheme://$host$uri$is_args$query_string;
proxy_ignore_headers Cache-Control;
proxy_cache_valid 200 10080m;
expires 7d;
add_header Cache-Control "public, no-transform";
add_header Cache-Control "public, no-transform, max-age=604800";
}
}
}