标签: nginx proxypass
当调用proxy_pass方法时,Nginx位置块会截断匹配路径中的所有大写字符。为什么?这是默认行为吗?
location ~ ^/path/somEthING(.*)$ { ... proxy_pass http://somehost/$1$is_args$args }
我希望proxy_pass URL为http://somehost/somEthING,但有效URL为http://somehost//somth
http://somehost/somEthING
http://somehost//somth