apache 添加https后导致http无法访问
设置 config 设置 强制跳转
<VirtualHost *:80>
DocumentRoot /usr/local/apache/htdocs/trip/public
ServerName 域名
ServerAlias 域名
DirectoryIndex index.php index.html
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*) https://域名
</VirtualHost>