We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
大佬,搭建好以后,本地访问没问题,拉到服务器 搭建以后启动项目,地址显示的是http。并不是https,关于这个问题我该如何解决呢。
The text was updated successfully, but these errors were encountered:
server { listen 8099; server_name localhost; location /meting/ { proxy_pass http://localhost:3000/; proxy_set_header X-Forwarded-Host $scheme://$host:$server_port/meting; } }
重点是这个 proxy_set_header X-Forwarded-Host $scheme://$host:$server_port/meting; $scheme 直接改成https proxy_set_header X-Forwarded-Host https://$host:$server_port/meting;
proxy_set_header X-Forwarded-Host $scheme://$host:$server_port/meting;
proxy_set_header X-Forwarded-Host https://$host:$server_port/meting;
Sorry, something went wrong.
我就是这么改的
No branches or pull requests
大佬,搭建好以后,本地访问没问题,拉到服务器
搭建以后启动项目,地址显示的是http。并不是https,关于这个问题我该如何解决呢。
The text was updated successfully, but these errors were encountered: