Is there a way to differentiate between plain HTTP(s) and AJAX requests?
My idea was to log the X-Requested-With
header in the nginx logs, but it seems it's not set by each AJAX client.
So what is the proper way to setup nginx to be able to tell if the request was a AJAX request or not?
0 Answers