Welcome! Log In Create A New Profile

Advanced

testing nginx.conf fails

March 18, 2015 11:15PM
This is a new install of 1.6.2 on linux dedi (centOS). I have the following in my nginx.conf file:

fastcgi_cache_path /dev/nginx-cache levels=1:2 keys_zone=WORDPRESS:10m max_size=1024m inactive=60m;

When testing the configurations (nginx -t), I get the following error message:

nginx: [emerg] "fastcgi_cache_path" directive is not allowed here in /etc/nginx/nginx.conf:82

I have reviewed many suggested configurations and all place the fast_cache_path statement, in some similar form, in nginx.conf. Why is this consistently failing? I thank everyone in advance for their assistance.
Subject Author Posted

testing nginx.conf fails

mac-989 March 18, 2015 11:15PM

Re: testing nginx.conf fails

mac-989 March 18, 2015 11:37PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 259
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready