Welcome! Log In Create A New Profile

Advanced

Nginx: different content to specific request method

October 24, 2011 11:08AM
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
Subject Author Posted

Nginx: different content to specific request method

caiotarifa October 24, 2011 11:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 231
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready