Nginx Log File from Specific PathName in link

tangyan nginx-forum at forum.nginx.org
Sun Apr 22 06:16:19 UTC 2018


access_log is valid in location context, so you can write nginx.conf like
this: 

        location /name/ {
            access_log name.log;

        }

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279535,279544#msg-279544



More information about the nginx mailing list