瀏覽代碼

🐛: fix proto

ulyc 2 年之前
父節點
當前提交
9e11243e13
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      nginx_conf/graphql.conf
  2. 1 1
      nginx_conf/web.conf

+ 1 - 1
nginx_conf/graphql.conf

@@ -1,7 +1,7 @@
 real_ip_header X-Forwarded-For;
 real_ip_recursive on;
 proxy_set_header Host $host;
-proxy_set_header X-Forwarded-Proto https;
+proxy_set_header X-Forwarded-Proto http;
 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
 
 if ($request_method = 'OPTIONS') {

+ 1 - 1
nginx_conf/web.conf

@@ -1,5 +1,5 @@
 real_ip_header X-Forwarded-For;
 real_ip_recursive on;
 proxy_set_header Host $host;
-proxy_set_header X-Forwarded-Proto https;
+proxy_set_header X-Forwarded-Proto http;
 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;