我有一个运行两个不同(但相关)网站的Tomcat 8.5服务器。我可能还会提到,另一个网站在HTTP标准端口80上运行。所有网站都解析为相同的IP地址。
这两个网站的URL是:
website.i.domain.org # Currently on HTTP port 8080
testwebsite.i.domain.org # Currently on HTTP port 8181
现在,我想在标准端口443上实现HTTPS。并关闭使用HTTP连接的可能性。该怎么办?
所以回顾一下
我希望https://website.i.domain.org将我转移到website.i.domain.org:8080(不能直接访问website.i.domain.org:8080)。而且我想https://testwebsite.i.domain.org将我转移到testwebsite.i.domain.org:8181(不能直接转到testwebsite.i.domain.org:8181)。
在进行重定向之前,还将有一个带有个人SSL证书的标识。
感谢您对此事的了解。
请 保罗·伯格斯特罗姆