ZSCGR commited on
Commit
567c807
·
verified ·
1 Parent(s): 8c50c16

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +1 -1
nginx.conf CHANGED
@@ -62,7 +62,7 @@ http {
62
 
63
  location / {
64
  proxy_pass http://localhost:3000/;
65
- proxy_set_header X-Forwarded-Host $scheme://$host:$server_port;
66
  }
67
 
68
  # 错误页面配置
 
62
 
63
  location / {
64
  proxy_pass http://localhost:3000/;
65
+ proxy_set_header X-Forwarded-Host https://$host;
66
  }
67
 
68
  # 错误页面配置