Update nginx.conf
Browse files- nginx.conf +1 -2
nginx.conf
CHANGED
@@ -67,8 +67,7 @@ http {
|
|
67 |
proxy_set_header Host $host; # 注意这里可能需要改成 proxy_set_header Host cc.cwapi.me; 如果你的后端服务需要正确的 Host 头
|
68 |
proxy_set_header X-Real-IP $remote_addr;
|
69 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
70 |
-
proxy_set_header X-Forwarded-Proto $scheme;
|
71 |
-
|
72 |
proxy_set_header Authorization $http_authorization;
|
73 |
|
74 |
# --- 缓冲区设置 (现在应该可以工作了) ---
|
|
|
67 |
proxy_set_header Host $host; # 注意这里可能需要改成 proxy_set_header Host cc.cwapi.me; 如果你的后端服务需要正确的 Host 头
|
68 |
proxy_set_header X-Real-IP $remote_addr;
|
69 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
70 |
+
proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
71 |
proxy_set_header Authorization $http_authorization;
|
72 |
|
73 |
# --- 缓冲区设置 (现在应该可以工作了) ---
|