如果 apache proxypass 的 backend 是 https 網址的話
ProxyPass / https://backend.pass.tw/test.html
ProxyPassReverse / https://backend.pass.tw/test.html

可能會出現以下錯誤訊息
[Mon May 03 16:57:15.995493 2021] [ssl:error] [pid 2682:tid 34531960832] [remote x.x.x.x:443] AH01961: SSL Proxy requested for example.pass.tw:443 but not enabled [Hint: SSLProxyEngine]
[Mon May 03 16:57:15.995532 2021] [proxy:error] [pid 2682:tid 34531960832] AH00961: HTTPS: failed to enable ssl support for x.x.x.x:443 (backend.pass.tw)

解決方式
在 apache 新增一行設定
SSLProxyEngine on

然後重啟 apache , 完工
 

undefined

arrow
arrow
    文章標籤
    apache proxypass
    全站熱搜

    helloworld 發表在 痞客邦 留言(0) 人氣()