标签:pst .com serve list div 代理 proxy index nginx
upstream test { server 127.0.0.1:8080; } upstream v2.c.y.com { server 1.159.227.3; } upstream auth.y.com { server 1.159.227.3; } server { listen 80; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location /api/userCredit/calculateLocalPayment { proxy_pass http://test; root html; index index.html index.htm; } location /api/userCredit/getBalance { proxy_pass http://test; root html; index index.html index.htm; } location /api/userCredit/pay { proxy_pass http://test; root html; index index.html index.htm; } location / { proxy_pass http://v2.clientapi.y.com; root html; index index.html index.htm; } location /token { proxy_pass http://auth.y.com; root html; index index.html index.htm; }
标签:pst .com serve list div 代理 proxy index nginx
原文地址:https://www.cnblogs.com/ahuo/p/9516918.html