> 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