Using variables in access_log statement?

Ed W lists at wildgooses.com
Wed Apr 9 23:42:06 MSD 2008


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





More information about the nginx mailing list