Welcome! Log In Create A New Profile

Advanced

FastCGI setup error

Posted by jbiggs77 
FastCGI setup error
February 18, 2014 06:18PM
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;
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 115
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready