apache - 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
对于仍然感兴趣的人来说应该绰绰有余。
推荐阅读
- java - 在 Eclipse 中,文本超出页面
- python - 如何处理来自sql server的pandas中没有值
- azure - 声纳云代码覆盖率的 Azure devops 问题
- python - 在 Keras 中实现自定义卷积层 - 加载模型时出错
- c++ - 使用 OpenMP 填充大型数组
- angular - 为什么输入不适用于我的角度组件?
- python-3.x - 试图重塑我的 numpy 数组以获得额外的维度
- excel - 为什么错误处理例程中的消息会打印两次?
- java - 在recyclerview中选择项目时如何从Firebase中删除值?
- java - 在使用存储在 JSON 上的 ID 进行 SearchView 过滤后,如何从 ListView 打开 Activity