Nginx location regex with proxy_passNginx location regex with proxy_passhttp://www.315ok.org/blogfolder/nginx-location-regex-with-proxy_passhttp://www.315ok.org/logo.png
Nginx location regex with proxy_pass
Nginx location regex with proxy_pass
If you use a URI with a proxy_pass statement within a regular expressionlocation, you need to build the entire URI using one or more variables. See this document for details.
So the alternatives are to (1), capture the URI from the location expression and add it to the proxy_pass statement. For example: