官方:http://nginx.org/en/docs/http/ngx_http_mirror_module.html
例子:
Example Configuration
location / { mirror /mirror; proxy_pass http://backend; } location /mirror { internal; proxy_pass http://test_backend$request_uri; }
官方:http://nginx.org/en/docs/http/ngx_http_mirror_module.html
例子:
location / { mirror /mirror; proxy_pass http://backend; } location /mirror { internal; proxy_pass http://test_backend$request_uri; }