我正在尝试将apache设置为正向代理,并允许SSL直通。
以下配置可以工作吗?我不确定默认情况下是否将apache作为转发代理启用了SSL passthrough。
# Proxy Server directives. Uncomment the following lines to
# enable the proxy server:
#
#<IfModule mod_proxy.c>
#Enable the forward proxy server. Note: Do not use the ProxyRequests directive if
#all you require is reverse proxy.
#
ProxyRequests On
AllowCONNECT 80 443 49171
#
<Proxy *>
Order deny,allow
Deny from all
Allow from 10.241.152.26
</Proxy>
# Allow from .example.com
#
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
#
#ProxyVia On
#</IfModule>
答案 0 :(得分:0)
AllowCONNECT
对于仍然有兴趣的人来说应该绰绰有余。