Equivalent of Apache's SetEnv Variable

Igor Sysoev igor at sysoev.ru
Thu Aug 5 15:11:33 MSD 2010


On Thu, Aug 05, 2010 at 03:09:14PM +0400, Igor Sysoev wrote:

> 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.

I should say "as static/CGI 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
http://sysoev.ru/en/



More information about the nginx mailing list