소스 검색

更新 'share-v2/sharesrv2-nginx/conf.d/sharesrv2-nginx.conf'

chenghongxi 4 년 전
부모
커밋
9e4f9f91fc
1개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0 7
      share-v2/sharesrv2-nginx/conf.d/sharesrv2-nginx.conf

+ 0 - 7
share-v2/sharesrv2-nginx/conf.d/sharesrv2-nginx.conf

@@ -19,13 +19,6 @@ server {
     server_name api-debug.xinyueyouxi.com;
 
     location / {
-        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-        proxy_set_header Remote_addr $remote_addr;
-        proxy_set_header X-Real_IP $remote_addr;
-        proxy_set_header Host $host;
-
-        proxy_redirect off;
-        proxy_http_version 1.1;
         proxy_pass http://sharesrv2-svc-nei:6999;
     }