window 路径: http://10.10.10.100:11111
server {listen 11111;server_name _;location /{root "C:/Documents and Settings/Administrator/Desktop/jar";}}
root alias proxy_pass 实例:
ruiyi.conf
118.24.25.216 test.ruiyi126.com
http://test.ruiyi126.com:8080/
http://test.ruiyi126.com:8080/test1/alias.html
http://test.ruiyi126.com:8080/test1/test11/alias.html
http://test.ruiyi126.com:8080/test1/test22/alias.html
http://test.ruiyi126.com:8080/testRoot/index.html
server{listen 80 default_server;server_name test.ruiyi16.net;location /{proxy_pass https://www.ruiyi126.com/;}location /test1{alias /usr/local/nginx/html/test2/;}location /testRoot{root /usr/local/nginx/html/;}}
