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 Server(HTTPD)和Tomcat在同一台电脑搭建服务器 #10

Closed
xiaoyun94 opened this issue Feb 17, 2017 · 2 comments
Closed

Comments

@xiaoyun94
Copy link

xiaoyun94 commented Feb 17, 2017

之前买了一个月的腾讯云部署方案,一次要买两个服务器,感觉亏得要死
因为会话服务器(准确来说是鉴权服务器)本身已经固定,而且不需要任何修改,放在额外一个服务器,十分浪费资源。
感觉可以解决用下面的方式解决:
Apache Server负责80端口的HTTP协议,运行php的会话服务器程序
Tomcat 开启SSL,将默认的8443端口改为443端口,同时部署证书,运行java业务服务器程序
在sdk.config设置里面,将authServerUrl改为
"http://localhost/mina_auth"
(mina_auth为index.php所在文件夹名称)

@techird
Copy link
Contributor

techird commented Feb 17, 2017

当初设计两个服务器的原因是希望会话服务和业务服务器可以分别进行伸缩。

@techird techird closed this as completed Feb 17, 2017
@xiaoyun94
Copy link
Author

那个会话服务器哪来的伸缩性一说呢?

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

2 participants