Nginx: different content to specific request method

caiotarifa nginx-forum at nginx.us
Mon Oct 24 15:08:35 UTC 2011


Hey Guys,

I have the image in the url (my server):
http://www.example.com/example.jpg

If my user put this image url on his site: return the image (normal).

If my user put this image url on his browser: return redirect to my
site, i.e. http://www.example.com/?fimage=example.jpg

How to do it?

Regards,
Caio

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,217215,217215#msg-217215



More information about the nginx mailing list