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>

apache配置反向代理

上一篇:JSR303校验的基本使用和结合AOP使用


下一篇:HTML基础之DOM操作