/some/path/one/_ajax?_=1484114768232
/some/path/two/_ajax
/path/3/_ajax?_=1484114768111
/some/path/two/_ajax/
и т.д.
location ~* (_ajax)$ {
access_log off;
}
map $request_uri $loggable {
~_ajax 0;
default 1;
}
access_log /path/to/access.log combined if=$loggable;