Frontend: Fix mixxong nginx.conf ;

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-02-02 21:03:14 +00:00
parent 29b163acda
commit 8c7012b06c

View File

@ -34,7 +34,7 @@ http {
brotli_static on; brotli_static on;
error_page 404 /404.html; error_page 404 /404.html;
expires 7d; expires 7d;
add_header Cache-Control "public, no-transform" add_header Cache-Control "public, no-transform";
} }
location /api/ { location /api/ {
@ -45,7 +45,7 @@ http {
gzip on; gzip on;
brotli on; brotli on;
expires 2m; expires 2m;
add_header Cache-Control "private, no-transform" add_header Cache-Control "private, no-transform";
} }
location /api/v1/list/ { location /api/v1/list/ {
@ -54,7 +54,7 @@ http {
proxy_ignore_headers Cache-Control; proxy_ignore_headers Cache-Control;
proxy_cache_valid 200 10080m; proxy_cache_valid 200 10080m;
expires 10080m; expires 10080m;
add_header Cache-Control "public, no-transform" add_header Cache-Control "public, no-transform";
} }
} }
} }