Welcome! Log In Create A New Profile

Advanced

Re: Questions about proxy_pass and internal directives

Reinis Rozitis
October 18, 2012 04:56PM
> also,
> location ~* (\.jpg|\.png|\.css|\.js|\.html)$ {
> valid_referers none blocked www.mysite.com
> static.mysite.com

Nginx uses only one location and since your request is
"mysite.com/foo/bar/sth.html" it is matched by this regexp it is the one
used by nginx / so not really proxy_passed.

http://nginx.org/en/docs/http/ngx_http_core_module.html#location - see the
order.


rr

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

Questions about proxy_pass and internal directives

mrtn October 18, 2012 03:28PM

Re: Questions about proxy_pass and internal directives

mrtn October 18, 2012 03:54PM

Re: Questions about proxy_pass and internal directives

VBart October 18, 2012 04:24PM

Re: Questions about proxy_pass and internal directives

mrtn October 18, 2012 04:32PM

Re: Questions about proxy_pass and internal directives

Reinis Rozitis October 18, 2012 04:56PM

Re: Questions about proxy_pass and internal directives

mrtn October 18, 2012 06:18PM

Re: Questions about proxy_pass and internal directives

mrtn October 18, 2012 06:48PM

Re: Questions about proxy_pass and internal directives

Reinis Rozitis October 18, 2012 07:38PM

Re: Questions about proxy_pass and internal directives

mrtn October 18, 2012 08:08PM

Re: Questions about proxy_pass and internal directives

mrtn October 18, 2012 08:38PM

Re: Questions about proxy_pass and internal directives

VBart October 18, 2012 08:40PM

Re: Questions about proxy_pass and internal directives

Reinis Rozitis October 18, 2012 09:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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