Prechádzať zdrojové kódy

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

chenghongxi 4 rokov pred
rodič
commit
9e4f9f91fc

+ 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;
     }