Hi i have already installed PHP, MySQL, Nginx & easy engine, moved an existing WordPress to current server. But confused here about nginx configuration
i need to add code provided in https://rtcamp.com/wordpress-nginx/tutorials/single-site/w3-total-cache/ to nginx configuration file? .
I have added code provided there in /etc/nginx/nginx.conf at bottom. Is it right?
After test got error.
root@xxx:~# nginx -t && service nginx reload nginx: [emerg] “rewrite” directive is not allowed here in /etc/nginx/sites-enabl ed/default:86 nginx: configuration file /etc/nginx/nginx.conf test failed
Also W3 total cache plugin installed manually, not with easy engine, So any configuration needed for it on server?