关于https反向代理的问题,我想将https://static.xxxx.com 反向代理到http://xxxx.oss-cn-shanghai.aliyuncs.com/
我是这样配置的,但是不成功,请教。(www.xxxx.com已经实现https了,所以说环境中ssl所需组件已开启了。) <VirtualHost _default_:443> ProxyRequests Off ServerName static.xxxx.com:443 ServerAlias SSLCertificateFile "conf/static_ssl/21455185770269.pem" SSLCertificateKeyFile "conf/static_ssl/21455185770269.key" ProxyPass / http://xxxx.oss-cn-shanghai.aliyuncs.com/ ProxyPassReverse / http://xxxx.oss-cn-shanghai.aliyuncs.com/ </VirtualHost> |
|
沙发#
发布于:2017-06-01 20:09
已解决,在证书前加 SSLEngine on 就ok了。
|
|