我正在尝试设置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>发布于 2019-03-03 21:32:12
对于任何仍然感兴趣的人来说,AllowCONNECT应该已经足够了。
https://stackoverflow.com/questions/54463200
复制相似问题