Apache 作为带 SSL 直通的正向代理
Apache as forward proxy with SSL passthrough
我正在尝试将 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
对于仍然感兴趣的人来说应该绰绰有余了。
我正在尝试将 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
对于仍然感兴趣的人来说应该绰绰有余了。