Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

FastCGI setup error

$
0
0
I’m getting the following error when attempting to add the 3 fastcgi_cache lines below to the mysite.com config file:

root@server:/etc/nginx/sites-available# nginx -t && service nginx reload
nginx: [emerg] the size 104857600 of shared memory zone “WORDPRESS” conflicts with already declared size 51380224 in /etc/nginx/sites-enabled/mysite.com:4
nginx: configuration file /etc/nginx/nginx.conf test failed

fastcgi_cache_path /var/run/nginx-cache levels=1:2 keys_zone=WORDPRESS:100m inactive=60m;
fastcgi_cache_key "$scheme$request_method$host$request_uri";
fastcgi_cache_use_stale error timeout invalid_header http_500;

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>