根据documentation,SSLProxyCheckPeerName
和SSLProxyCheckPeerCN
应该在“代理部分”上下文中允许;但是,当我尝试添加它们时,启动Apache时出现错误。知道如何将这些指令应用于单个代理目标吗?
Apache配置:
<Proxy "https://1.1.1.1:1001/path">
SSLProxyCheckPeerName off
SSLProxyCheckPeerCN off
</Proxy>
ProxyPass /path https://1.1.1.1:1001/path
错误:
AH00526: Syntax error on line 49 of /etc/httpd/conf.d/proxy.conf:
SSLProxyCheckPeerName not allowed here