how to configure apache server to talk to HTTPS backend server?

前端 未结 2 1006
广开言路
广开言路 2021-01-30 19:18

I configured apache server as a reverse proxy and it works fine if I point a backend server as HTTP. That is:

I configured virtual host 443 like:

ProxyPa         


        
2条回答
  •  被撕碎了的回忆
    2021-01-30 19:54

    Your server tells you exactly what you need : [Hint: SSLProxyEngine]

    You need to add that directive to your VirtualHost before the Proxy directives :

    SSLProxyEngine on
    ProxyPass /primary/store https://localhost:9763/store/
    ProxyPassReverse /primary/store https://localhost:9763/store/
    

    See the doc for more detail.

提交回复
热议问题