August 12, 2011 07:34AM
What's this @ thing mean?

@location is a named location. Named locations preserve $uri as it was
before entering such location. They were introduced in 0.6.6 and can be
reached only via
error_page<http://wiki.nginx.org/NginxHttpCoreModule#error_page>
, post_action <http://wiki.nginx.org/NginxHttpCoreModule#post_action>(since
0.6.26) and try_files
<http://wiki.nginx.org/NginxHttpCoreModule#try_files> (since
0.7.27, backported to 0.6.36)."


Essentially, you can still server any content you want using that syntax, it
is just a way to redirect nginx without rewriting the $uri.

On Fri, Aug 12, 2011 at 5:33 AM, rastrano <nginx-forum@nginx.us> wrote:

> Thank you, but i want to serve the real content to the bot not an error
> page.
>
> Is this possible?
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,213704,213727#msg-213727
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



--
Cheers,
Rami
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Slow down, but not stop, serving pages to bot that doesn't respect robots.txt delay

rastrano August 11, 2011 11:37AM

Re: Slow down, but not stop, serving pages to bot that doesn't respect robots.txt delay

rastrano August 11, 2011 11:56AM

Re: Slow down, but not stop, serving pages to bot that doesn't respect robots.txt delay

ressaid August 11, 2011 05:10PM

Re: Slow down, but not stop, serving pages to bot that doesn't respect robots.txt delay

rastrano August 12, 2011 05:33AM

Re: Slow down, but not stop, serving pages to bot that doesn't respect robots.txt delay

ressaid August 12, 2011 07:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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