Hello ,
It worked perfectly.
Thank you Tangyan.
U saved my day.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,279535,279548#msg-279548
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Thanks Tangyan ,
Will try and reply back .
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,279535,279545#msg-279545
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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
___
nginx mailing
I need it in a separate file so i can fastly use it somewhere else.
Is there a way?
Thanks
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,279535,279543#msg-279543
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listi
Why wouldn't you just grep the regular log file?
Original Message
From: nginx-fo...@forum.nginx.org
Sent: April 19, 2018 5:53 AM
To: nginx@nginx.org
Reply-to: nginx@nginx.org
Subject: Nginx Log File from Specific PathName in link
Hello everyone ,
Im new here , first post today ,
Hello everyone ,
Im new here , first post today , been using Nginx for a few years now.
People are POST ing links like this to our server :
POST https://domain.com/name/test/sub/aaa-bbb-ccc
I want to log in a different file all the links that are having the word :
name in a file called name.l