wcp部署包中吧ROOT改成wcp
ngnix配置文件
location /wcp{ proxy_pass http://192.168.0.102:8989/wcp; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Port $server_port; proxy_set_header X-Forwarded-Scheme $scheme; proxy_set_header X-Forwarded-Host $host; } location /wdap{ proxy_pass http://192.168.0.102:8989/wdap; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Port $server_port; proxy_set_header X-Forwarded-Scheme $scheme; proxy_set_header X-Forwarded-Host $host; }
wcp的nginx.properties配置
request.able=true request.scheme=https request.host=www.wcpdoc.com request.port=443 request.path=/wcp request.replace.url=https://www.wcpdoc.com/wcp/ 127.0.0.1.request.able=false
wdap的nginx.properties配置
request.able=true request.scheme=https request.host=www.wcpdoc.com request.port=443 request.path=/wdap request.replace.url=https://www.wcpdoc.com/wdap/ 127.0.0.1.request.able=false