Apache2 vhost 重定向 https ubuntu 17.04

Apache2 vhost 重定向 https ubuntu 17.04

我使用 ubuntu server 17.04 运行 Virtualbox,当我尝试在浏览器中访问本地项目时,它会重定向到 SSL/https

<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/media/sf_www/dashboard/public"
DirectoryIndex index.php
ServerName dashboard.dev
ServerAlias dashboard.dev www.dashboard.dev
<Directory "/media/sf_www/dashboard/public">
    Options All
    AllowOverride All
    Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/dashboard_error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn 
#rewrite:trace6
CustomLog ${APACHE_LOG_DIR}/dashboard_access.log combined

我知道这个问题已经被问过多次了,但我尝试的任何方法都无济于事

相关内容