The downsides of using nginx as a primary web server?
- by FractalizeR
Hello.
I've seen millions of websites using nginx as a proxifying webserver working together with Apache. But I've seen very few servers running nginx only as their default webserver. What are the main downsides of such config?
I can see some:
Inability to use per-directory config files like .htaccess so every configuration change should be done to main server config file and requires server reload. But pecl htscanner can compensate them for php settings
Unavailability of mod_php for nginx, which can be compensated by php-fpm for example.
What are others? Why don't people just drop Apache and move to nginx or any other lightweight solution? May be, there are some special reasons?