update wpsc template and fix multisite

* update wpsc template the same way than fastcgi_cache 
* fix wp multisite stacks
This commit is contained in:
VirtuBox
2019-03-05 20:11:05 +01:00
parent 056b59ec39
commit c47373f21d
6 changed files with 27 additions and 36 deletions

View File

@@ -1,7 +1,9 @@
# FastCGI cache settings
fastcgi_cache_path /var/run/nginx-cache levels=1:2 keys_zone=WORDPRESS:50m inactive=60m;
fastcgi_cache_path /var/run/nginx-cache levels=1:2 keys_zone=WORDPRESS:50m inactive=60m max_size=256M;
fastcgi_cache_key "$scheme$request_method$host$request_uri";
fastcgi_cache_use_stale error timeout invalid_header updating http_500 http_503;
fastcgi_cache_methods GET HEAD;
fastcgi_cache_background_update on;
fastcgi_cache_valid 200 301 302 404 1h;
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;