How to load nginx config dynamiclly like apache .htaccess?

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?

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs