can a map + regex be used to generate variables for YYYY-MM-DD-HH?
nginx-forum at nginx.us
Fri Oct 24 17:44:19 UTC 2014
1. variable in logname is what i want: access_log.YYYY-MM-DD-HH
I have other log munging daemons looking for this date formatted file in
real time (other options i have tried, hard linking files, used named
2. (currently i use this method) 'if' - inside server - outside location -
works. Only when i get non ssl traffic to 443 port it writes out
access_log.---- instead of the usual: 'access_log.2014-10-24-17'
2.1 is this a bug ?
3. also tried map inside server block - outside location & its not allowed
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254210,254251#msg-254251
More information about the nginx