Suppose request hits my web app like this:
_http://mywebapp/empty.gif?data1=abc&data2=123
By using Nginx's empty_gif module, I am doing something like:
location /empty.gif {
expires -1;
post_action /empty_gif_post;
empty_gif;
}
location = /empty_gif_post { internal; proxy_pass http://mywebapp/_track.php; }
The problem with this approach is that it won't let me retrieve GET parameters.
Any solution for this issue?