Apache反向代理
#开启SSL访问
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/lecture.cnsunrun.com/cert.pem
SSLCertificateChainFile /etc/letsencrypt/live/lecture.cnsunrun.com/chain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/lecture.cnsunrun.com/privkey.pem
#开启SSL反向代理
SSLProxyEngine on

# 开始-apache反向代理
ProxyRequests On

#apache的监听其他端口
<proxy https://域名:端口>
   AllowOverride None
   Order Deny,Allow
   Allow from all
</proxy>
ProxyPass / https://域名:端口/
ProxyPassReverse / https://域名:端口/
# 结束-apache反向代理


鄂ICP备19018033号-1
0.062728s