Nginx.conf - @ (at symbol)

Sorry, not a ruby / mongrel question, but this forum looks active.

Can anyone tell me the functionality of the @ symbol in the following
statement?

location @joomla {
rewrite ^(.*)$ /index.php?q=$1 last;
}

(from http://wiki.nginx.org/NginxJoomla)

Thanks

Hello!

On Wed, Aug 26, 2009 at 11:27:19PM +0200, Jeff V. wrote:

Sorry, not a ruby / mongrel question, but this forum looks active.

Can anyone tell me the functionality of the @ symbol in the following
statement?

location @joomla {
rewrite ^(.*)$ /index.php?q=$1 last;
}

(from http://wiki.nginx.org/NginxJoomla)

Here is what Google Translate says based on original
documentation:

Prefix “@” specifies the named location. This location is not used
during normal processing of requests, and is intended only to be
redirected to his requests.

(from
http://translate.google.com/translate?hl=en&sl=ru&tl=en&u=http://sysoev.ru/nginx/docs/http/ngx_http_core_module.html)

It doesn’t looks terribly wrong for me (though probably needs some
grammar/wording fixes). Feel free to update wiki
(http://wiki.nginx.org/NginxHttpCoreModule#location).

Maxim D.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs