Skip to content
Snippets Groups Projects
Verified Commit 81ed29f3 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(nginx): Adjust nginx-cache for all answer types

parent b033e915
No related tags found
No related merge requests found
Pipeline #12681 failed
...@@ -53,7 +53,8 @@ server { ...@@ -53,7 +53,8 @@ server {
add_header Cache-Control "public, max-age=3600, stale-while-revalidate=2592000, stale-if-error=604800"; add_header Cache-Control "public, max-age=3600, stale-while-revalidate=2592000, stale-if-error=604800";
# Proxy Cache configuration # Proxy Cache configuration
proxy_cache_valid 200 302 1h; proxy_cache_valid 200 302 24h;
proxy_cache_valid any 5m;
proxy_cache STATIC; proxy_cache STATIC;
proxy_cache_revalidate on; proxy_cache_revalidate on;
proxy_cache_min_uses 1; proxy_cache_min_uses 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment