Browse Source

Optimize FastCGI Cache

Alexandros Ioannides 4 years ago
parent
commit
9aa67da9ae
1 changed files with 2 additions and 0 deletions
  1. 2 0
      install/deb/nginx/nginx.conf

+ 2 - 0
install/deb/nginx/nginx.conf

@@ -45,6 +45,8 @@ http {
     fastcgi_send_timeout            180s;
     fastcgi_send_timeout            180s;
     fastcgi_cache_lock              on;
     fastcgi_cache_lock              on;
     fastcgi_cache_lock_timeout      5s;
     fastcgi_cache_lock_timeout      5s;
+    fastcgi_cache_background_update on;
+    fastcgi_cache_revalidate        on;
     
     
     # Proxy settings
     # Proxy settings
     proxy_redirect                  off;
     proxy_redirect                  off;