server { listen 80; listen [::]:80; server_name localhost; # error_page 500 502 503 504 /50x.html; # location = /50x.html { # root /usr/share/nginx/html; # } # 用户 location /user/ { proxy_pass http://cr-user:8908/usercenter/; } # crsvc location /cr/ { proxy_pass http://cr-svc:6123/crsvc/; } }