注释掉 proxy/docs.conf 中的代理配置

This commit is contained in:
2025-03-20 12:53:52 +08:00
Unverified
parent 07fc0594e8
commit 6763201aff

View File

@@ -1,15 +1,15 @@
location ^~ /docs { # location ^~ /docs {
proxy_pass http://10.147.17.161:20001; # proxy_pass http://10.147.17.161:20001;
proxy_set_header Host $host; # proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; # proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header REMOTE-HOST $remote_addr; # proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header Upgrade $http_upgrade; # proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection; # proxy_set_header Connection $http_connection;
proxy_set_header X-Forwarded-Proto $scheme; # proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1; # proxy_http_version 1.1;
add_header X-Cache $upstream_cache_status; # add_header X-Cache $upstream_cache_status;
proxy_ssl_server_name off; # proxy_ssl_server_name off;
proxy_ssl_name $proxy_host; # proxy_ssl_name $proxy_host;
add_header Cache-Control no-cache; # add_header Cache-Control no-cache;
} # }