How to load nginx config dynamiclly like apache .htaccess?

SplitIce mat999 at gmail.com
Sun Oct 10 06:24:01 MSD 2010


Yo u cant it requires a stat, just use the main nginx config, if you realy
need .htaccess use "include" and include the file in the zone (not dynamic).
Id recomend just using 1 config file per site, something like
/etc/nginx/sites/domain.com.conf

On Sun, Oct 10, 2010 at 12:49 PM, JWD <j-wd at tom.com> wrote:

>
> How to load nginx config dynamiclly like apache .htaccess?
> Many people talk about it, but I still can't find a way to make it work.
>
> Anather question:
> If I "mv access.log access.log.old", will access record be logged in cache
> or dropped befor I create a new access.log?
> If logged in cache, how many access record can be logged in cache? After
> cache is full, will access record be dropped?
>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20101010/fe782047/attachment.html>


More information about the nginx mailing list