我要完成像Nginx請求路徑變量?
https://companyname.net/admin/identity
路由到https://localhost:9443
https://companyname.net/admin/identity/a/b/c
路由到https://localhost:9443/a/b/c
如何做那些最巧妙的可能途徑?
當前設置:
location /admin/identity$path {
proxy_pass https://localhost:9443$path;
}
http://serverfault.com/a/ 586614/211028 –