Questions about proxy_pass and internal directives
Reinis Rozitis
r at roze.lv
Thu Oct 18 20:54:34 UTC 2012
> 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
More information about the nginx
mailing list