Nginx configuration settings | do not trust [audit: pending]


#1

Hi Rahul,

Please find my settings: URL: https://gist.github.com/sadc/6661506

I use AWS EC2 with Security Group ... , [Debian OS], Haproxy, Varnish, Nginx, Memcached, php5-fpm, mysql, Naxsi, fail2ban, iptables, Wordpress and few wordpress plugins such as W3 Total Cache (latest version with one bug correction) (NOTE: do not use fastcgi-cache URL: http://rtcamp.com/wordpress-nginx/tutorials/single-site/fastcgi-cache-with-purging/);

URL: http://www.cyberciti.biz recommendations used on this small project.

On this project, I need: - best practices (tutorial purpose, as it is a small project) - security (snort is missing at least, but security topic is not forgotten ) - reliability: high, efficiency: medium/high, scalability: low/high (cdn with AWS Cloudfront is missing)


#2

@sadc

Your configuration is different than what we provide in our series - http://rtcamp.com/wordpress-nginx/tutorials/

Sorry but we provide support only for issues related to our tutorials.

Also, we don't use or recommend varnish with nginx - http://rtcamp.com/tutorials/why-we-never-use-varnish-with-nginx/

May I know reason for your line:

(NOTE: do not use fastcgi-cache URL: http://rtcamp.com/wordpress-nginx/tutorials/single-site/fastcgi-cache-with-purging/)

Nginx fastcgi-cache is better and more scalable in our experience.


#3