Using variables in access_log statement?

Hi, Is is possible to use variables to construct the access_log
location?

eg something like:

access_log /var/log/nginx/$server_name.access_log

(needless to say the above doesn’t work)

Thanks

Ed W

On Apr 9, 2008, at 3:42 PM, Ed W wrote:

Hi, Is is possible to use variables to construct the access_log
location?

eg something like:

access_log /var/log/nginx/$server_name.access_log

Nope. I’d love to see that one too.