标签: nginx
两个nginx配置有什么区别
下面2个代码段给我相同的结果
Sample 1: location /check { rewrite rewrite ^/check(.*) /$1 break; proxy_pass http://127.0.0.1; }
Sample 2: location /check { proxy_pass http://127.0.0.1/; }