apache - ProxyPass for https not working -
i'm having set of codes in tomcat (port:8080) , set of codes in apache (port:80). default port have set apache (document root: /var/www/html) , tomcat (/usr/.../webapps/root)
now tomcat codebase running in https:// www.example.com , apache codebase running in http://ww.example.com
i have written proxy
proxypass /req https://example.com/req proxypassreverse /req https://example/req all request http, contains /req go https://example.com/req.
but problem is, redirected http://example.com/req
what can redirect https or can run tomcat in "http"
add port redirect, rewrite proxy pass as,
proxypass /req https://example.com:8080/req proxypassreverse /req https://example:8080/req
Comments
Post a Comment