网站首页 博客 apache配置https网站
apache配置https网站
 2021-05-20 11:25:36  管理员  75

<VirtualHost *:443>

        ServerAdmin you@yourdomain.com

DocumentRoot "/var/www/xuexi.iefeel.com"

        ServerName xuexi.iefeel.com

SSLEngine on

SSLCertificateFile /etc/httpd/conf/cert/2_xuexi.iefeel.com.crt

SSLCertificateKeyFile /etc/httpd/conf/cert/3_xuexi.iefeel.com.key

SSLCertificateChainFile /etc/httpd/conf/cert/1_root_bundle.crt

DirectoryIndex index.html index.php

       <Directory "/var/www/xuexi.iefeel.com">

Options Indexes FollowSymLinks

AllowOverride all

Require all granted

       </Directory>

</VirtualHost>


来说两句吧
最新评论