nginx部署vue,配置代理时,出了问题
rewrite ^.+design/?(.*)$ /$1 break;
proxy_pass http://localhost:6882;
http://localhost:8006/design/index --->http://localhost:6882/index //客户端地址转服务端地址,这样子是没问题的
http://localhost:8006/design/design/index --->http://localhost:6882/index //如果出现两次design,都会被过滤掉,希望只过滤一个design,这个怎么改写