首页 > 解决方案 > 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>

标签: apacheproxyaix

解决方案


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


推荐阅读