From 6763201afffb557ecdfceb5933304f24587c925e Mon Sep 17 00:00:00 2001 From: HeXiangLong <3234374354@qq.com> Date: Thu, 20 Mar 2025 12:53:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=8E=89=20proxy/docs.conf?= =?UTF-8?q?=20=E4=B8=AD=E7=9A=84=E4=BB=A3=E7=90=86=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxy/docs.conf | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/proxy/docs.conf b/proxy/docs.conf index 56f84353..c0c77b37 100755 --- a/proxy/docs.conf +++ b/proxy/docs.conf @@ -1,15 +1,15 @@ -location ^~ /docs { - proxy_pass http://10.147.17.161:20001; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header REMOTE-HOST $remote_addr; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection $http_connection; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_http_version 1.1; - add_header X-Cache $upstream_cache_status; - proxy_ssl_server_name off; - proxy_ssl_name $proxy_host; - add_header Cache-Control no-cache; -} \ No newline at end of file +# location ^~ /docs { +# proxy_pass http://10.147.17.161:20001; +# proxy_set_header Host $host; +# proxy_set_header X-Real-IP $remote_addr; +# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +# proxy_set_header REMOTE-HOST $remote_addr; +# proxy_set_header Upgrade $http_upgrade; +# proxy_set_header Connection $http_connection; +# proxy_set_header X-Forwarded-Proto $scheme; +# proxy_http_version 1.1; +# add_header X-Cache $upstream_cache_status; +# proxy_ssl_server_name off; +# proxy_ssl_name $proxy_host; +# add_header Cache-Control no-cache; +# } \ No newline at end of file