1
我有一套代码在tomcat (port:8080)
和另一组代码在apache (port:80)
。现在,我已经设置了默认端口是阿帕奇(文档根:在/ var/www/html等)和Tomcat的(/usr/.../webapps/ROOT)ProxyPass的https不工作
现在tomcat的代码库中https:// www.example.com
运行 和Apache代码库中http://ww.example.com
运行我已经写了代理为
ProxyPass /req https://example.com/req
ProxyPassreverse /req https://example/req
所有的HTTP请求,其中包含/REQ会去https://example.com/req.
但问题是,它会被重定向到http://example.com/req
我能做些什么来重定向到HTTPS或者我可以做运行Tomcat在“HTTP”