sq66 commited on
Commit
e7ca22d
·
verified ·
1 Parent(s): 58c8e0c

Update nginx.conf

Browse files
Files changed (1) hide show
  1. 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
  # --- 缓冲区设置 (现在应该可以工作了) ---