赞
踩
- server {
- listen 80;
- server_name www.didiok.com;
- access_log logs/book.log;
- error_log logs/book.error;
-
- #将http://www.didiok.com/wx-service请求转发给http://127.0.0.1:8011/wx-service处理
- location /wx-service {
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_pass http://127.0.0.1:8011/wx-service;
- }
-
- #将http://www.didiok.com/bootdo请求转发给http://127.0.0.1:8012/bootdo处理
- location /bootdo {
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_pass http://127.0.0.1:8012/bootdo;
- }
-
- #将/xcloud-service请求转发给http://127.0.0.1:8013/xcloud-api处理
- location /xcloud-service {
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_pass http://127.0.0.1:8013/xcloud-api;
- }
-
- #将/eureka-service请求转发给http://127.0.0.1:8081/eureka-service处理
- locatio
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。