打你一下

apache配置反向代理

Listen 443
<VirtualHost *:443>

#extra/httpd-ssl.conf
DocumentRoot "D:\web\student"
ServerName student.weihom.net
SSLEngine on
# Proxy Config
SSLProxyEngine on
SSLEngine on
ProxyRequests Off
ProxyPass /wss ws://127.0.0.1:1235/wss
ProxyPassReverse /wss ws://127.0.0.1:1235/wss

# 添加 SSL 协议支持协议,去掉不安全的协议
SSLProtocol all -SSLv2 -SSLv3
# 修改加密套件如下
SSLCipherSuite HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUM
SSLHonorCipherOrder on
# 证书公钥配置
SSLCertificateFile "D:\phpStudy\Apache\conf\ssl\student\2_.crt"
SSLCertificateKeyFile "D:\phpStudy\Apache\conf\ssl\student\3_.key"
SSLCertificateChainFile "D:\phpStudy\Apache\conf\ssl\student\1_root_bundle.crt"

</VirtualHost>

posted on 2020-06-27 17:07  打你一下  阅读(764)  评论(0编辑  收藏  举报

导航