0
我在nginx的HAProxy的重定向變量不工作規則路徑元素
rewrite ^/rty/(.*)$ example.com/$1?lead
我試圖做同樣的HAProxy的
acl uri_lc path_reg ^/lc/(.*)$
http-request redirect location example.com/$1?lead code 301 if uri_lc
以下重定向規則重定向工作,但路徑元素變量$ 1似乎不適用於haproxy。