Welcome! Log In Create A New Profile

Advanced

Re: hotlink protection with rewrite

Piotr Karbowski
January 10, 2010 03:12PM
location ~ \.(jpg|jpeg|png|gif)$ {
valid_referers server_names blocked none;
if ($invalid_referer) {
rewrite ^(.*)$ /hotlink.png break;
}
}

I using something like it.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

hotlink protection with rewrite

vicky007 January 10, 2010 01:29PM

Re: hotlink protection with rewrite

proforg January 10, 2010 01:50PM

Re: hotlink protection with rewrite

Piotr Karbowski January 10, 2010 03:12PM

Re: hotlink protection with rewrite

vicky007 January 10, 2010 03:30PM

Re: hotlink protection with rewrite

samfingcul January 30, 2010 11:51AM

Re: hotlink protection with rewrite

vicky007 January 31, 2010 07:47AM

Re: hotlink protection with rewrite

tophi July 16, 2011 07:39AM

Re: hotlink protection with rewrite

Wendal Chen July 17, 2011 09:08AM

Re: hotlink protection with rewrite

tophi July 17, 2011 09:32AM

Re: hotlink protection with rewrite

antituhan July 17, 2011 11:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 122
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