apache配置反向代理

Listen 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"

你可能感兴趣的:(apache配置反向代理)