Skip to content
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

Apache 下配置反向代理 #34

Closed
unitwk opened this issue May 30, 2018 · 0 comments
Closed

Apache 下配置反向代理 #34

unitwk opened this issue May 30, 2018 · 0 comments

Comments

@unitwk
Copy link
Member

unitwk commented May 30, 2018

当你加载好配置反向代理好之后。

你可能会发现成功的进行反向代理,但是似乎可以登录但是没有办法链接到面板。

这是因为面板绝大部分使用的 Websocket 链接,请添加 Websocket 支持项目。

列如这是 https://link.suwings.top 的配置 (80->23333) :

ProxyPass "/websocket/ws" "ws://localhost:23333/websocket/ws"
ProxyPass "/"  "http://localhost:23333/"
ProxyPassReverse "/"  "http://localhost:23333/"

重点不是这些,尤其注意将

/websocket/ws 代理到新的地方,这是 ws 链接。

这样,你添加 SSL 将会更容易,参考: https://github.com/Suwings/MCSManager#ssl

@unitwk unitwk closed this as completed May 30, 2018
unitwk added a commit that referenced this issue Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant