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
多个站点同一个源站如何合并成1个 #162
Labels
Comments
能简化成两个,但是没法简化成 1 个,核心问题是端口。 创建一个站点,域名写 a.com,监听 80 端口,上游写你的业务服务器;创建另一个站点,域名也写 a.com,监听 443 端口,开启 ssl,上传证书,上游写你的业务服务器即可 |
可以考虑的进一步的方案是:
感觉没必要,也就是把两个站点优化成了一个。考虑整体站点数量也不会太多,而且站点配置大多数是一次性的,配置完几乎不会再调整了,实际上没啥太大区别,先 open 着看看情况吧。 |
多个站点使用,|;隔开支持把,支持多种方式。
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
背景与遇到的问题
http://a.com
http://www.a.com
https://a.com
https://www.a.com
要配置4个站点,实际对应后面1个。有什么办法简化吗
建议的解决方案
No response
The text was updated successfully, but these errors were encountered: