about summary refs log tree commit diff
path: root/dist/nginx.conf
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-03-31 00:37:16 +0100
committerGitHub <noreply@github.com>2019-03-31 00:37:16 +0100
commit925830d11bb5c132e282f82bdb2ca893d87c9c24 (patch)
tree324003d03c66caead9842a6052bc28caf7f654c2 /dist/nginx.conf
parentb6fa500806f68d5394174e1f341dc61e3578760e (diff)
parentb72950fbd3536260df0b9c22179a6024d4d0c189 (diff)
Merge pull request #976 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'dist/nginx.conf')
-rw-r--r--dist/nginx.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/dist/nginx.conf b/dist/nginx.conf
index 3d5741765..7c429bad4 100644
--- a/dist/nginx.conf
+++ b/dist/nginx.conf
@@ -78,6 +78,7 @@ server {
 
     proxy_cache CACHE;
     proxy_cache_valid 200 7d;
+    proxy_cache_valid 410 24h;
     proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504;
     add_header X-Cached $upstream_cache_status;
     add_header Strict-Transport-Security "max-age=31536000";