views:

70

answers:

1

I want Nginx to log requests that start with /path to a certain log file. like this:

Sorry if this is vague, but I'm new to the nginx config biz. Feel free to ask questions about what I'm doing, I'll answer them the best I can.

+4  A: 
location /foobar {
 access_log /var/log/foobar.log;
}
Jorge Niedbalski R.
well, crap. That's easy. :DThanks, Jorge!
Pete Karl II