-
Notifications
You must be signed in to change notification settings - Fork 13.4k
New issue
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
聊天服务器不可用,总是让我重新开始 #74
Comments
服务器可以直连 www.bing.com 吧?参考下 #71 |
我用的是aws的首尔云服务,我看了他的说是要配置X-Forwarded-For,但是他没写配置,截图还只有一半,心酸。。。 |
大佬有没得空,我服务器发你帮我搞下哈 |
主要代码就这点,其他保留你自己的就好 location /sydney/ChatHub {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
}
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如题哈,使用docker创建了容器启动,然后用nginx做了证书加载
The text was updated successfully, but these errors were encountered: