Equivalent of Apache's SetEnv Variable

Igor Sysoev igor at sysoev.ru
Thu Aug 5 15:09:14 MSD 2010

On Thu, Aug 05, 2010 at 12:53:26PM +0200, Grzegorz Nosek wrote:

> Yes, Nginx is aware of files, of course :) but unlike Apache, where
> everything must be a file, it prefers operating on URLs and uses files
> as late as possible. That's my understanding of its philosophy, at
> least.

I believe NSCA/Apache was being developed primarily as static web server.
So all these <Directory>, <Files>, .htaccess, etc exist.
Then mod_proxy module has been added. In nginx static files processing
is just a part of functionality, so it uses "location"s only (analog of
Apache's <Location>) to concentrate processing in a single place.

Igor Sysoev

More information about the nginx mailing list