Frontend: Fix mixxong nginx.conf ;
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
29b163acda
commit
8c7012b06c
@ -34,7 +34,7 @@ http {
|
||||
brotli_static on;
|
||||
error_page 404 /404.html;
|
||||
expires 7d;
|
||||
add_header Cache-Control "public, no-transform"
|
||||
add_header Cache-Control "public, no-transform";
|
||||
}
|
||||
|
||||
location /api/ {
|
||||
@ -45,7 +45,7 @@ http {
|
||||
gzip on;
|
||||
brotli on;
|
||||
expires 2m;
|
||||
add_header Cache-Control "private, no-transform"
|
||||
add_header Cache-Control "private, no-transform";
|
||||
}
|
||||
|
||||
location /api/v1/list/ {
|
||||
@ -54,7 +54,7 @@ http {
|
||||
proxy_ignore_headers Cache-Control;
|
||||
proxy_cache_valid 200 10080m;
|
||||
expires 10080m;
|
||||
add_header Cache-Control "public, no-transform"
|
||||
add_header Cache-Control "public, no-transform";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user