Welcome! Log In Create A New Profile

Advanced

Trying to figure if nginx can be used

robert mena
March 11, 2011 02:28PM
Hi,

I've googled trying to find out the answers to my questions and a few
remained unanswered / inconclusive.

I plan to replace my apache server with nginx. I currently use:

a) mod_deflate to compress the pages
b) mod_expires to add expires headers to certain images
c) mod_rewrite to, well, rewrite the requests to a bootstrap index.php (Zend
Framework)
d) support php
e) support for SSL
f) support for name based virtual hosts


I've found that nginx has built-in support for compression, support for
virtual servers (name based), SSL and can host php scripts. But:
a) does it support similar configuration like the one below?

<Directory "/var/www/html">
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png|zip|exe|mp3)$ no-gzip dont-vary
Header append Vary User-Agent env=!dont-vary
</Directory>

b) Are there any known limitations or disadvantages on hosting PHP with
nginx?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Trying to figure if nginx can be used

robert mena March 11, 2011 02:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready