Ver código fonte

🐛: fix proto

ulyc 2 anos atrás
pai
commit
9e11243e13
2 arquivos alterados com 2 adições e 2 exclusões
  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;