4 ms·
Apache has much more features, more modules, supports more auth schemes, etc. And the documentation is awesome. Apache configuration is generally better, less
by fooyc 13y ago
Apache has much more features, more modules, supports more auth schemes, etc.
And the documentation is awesome.
Apache configuration is generally better, less WTF.
E.g. the nginx headers module [1] allows you to either set a single header, or an expires directive, but not both. There is a HeadersMoreModule, which is more flexible, but in general nginx configuration looks like that.
Aliases/url rewrites/per-dir/per-location configuration are a mess in nginx. Want to set some special directives for the /assets location ? no problem. Want to set special directives for .css files ? no problem. Well, actually if you have .css files in /assets, if will have either directives for /assets or .css, but not both.
[1] http://wiki.nginx.org/HttpHeadersModule http://wiki.nginx.org/HttpHeadersModule