Using server_name variable in error_log filename

This is good way how to make separate error logging per-server section

http://wiki.nginx.org/SeparateErrorLoggingPerVirtualHost

However we have many shared configuration files in conf.d/ and we have
one especially dedicated to logging.

Is there any variable containing server_name (and port) value which can
be use in filename passed to error_log ?

Thanks

Ondrej


Ondrej JOMBIK
Platon Technologies Ltd., Hlavna 3, Sala SK-92701
+421 903 PLATON - [email protected] - http://platon.org

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