After doing considerable research over the Internet I found following as the major Advantages of using nginx vs using Apache. Apache 1) Apache uses a blocking model of using threads for processing requests. 2) One thread is dedicated for serving one request. 3) The threads have to do sync with there Process so it’s a…
Tag: nginx
This is the nginx conf which worked for me for running Nagios3 with nginx over https, just putting it up here for needy folks like me. Considering following upstreams for php5-fpm and fcgiwrap: upstream php { server unix:/var/run/php5-fpm.sock; } upstream perl { server unix:/var/run/fcgiwrap.socket; } Assuming both php5-fpm and fcgiwrap for perl cgi are running,…