Apache作为具有SSL直通的转发代理



我正在尝试将apache设置为转发代理并允许SSL直通。

以下配置是否有效?我不确定默认情况下是否为apache启用SSL直通作为转发代理。

# 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>

对于仍然感兴趣的人来说,AllowCONNECT应该绰绰有余。

最新更新