为什么在 Firefox 上自动将 http://...local 重定向到 https://...local/dashboard/
why does redirect http://...local to https://...local/dashboard/ automaticly at firefox
我刚刚安装了新的 "laravel 6" 项目,并将 env 文件编辑为
APP_URL=http://instegram.local
并将文件托管到
127.0.0.1 instegram.local
和 httpd-vhosts.conf 在 xampp 到
<VirtualHost *:80>
SSLEngine off
DocumentRoot "C:/xampp/htdocs/instegram/public"
ServerName instegram.local
</VirtualHost>
然后我在 firefox 上打开了这个
http://instegram.local
它会自动将我重定向到
https://instegram.local/dashboard/
此问题仅适用于 firefox
*我重新启动了 apache 服务器
第 1 步:首先尝试在其他浏览器中打开项目。如果它仍然重定向,则可能是导致问题的项目或服务器配置。如果没有重定向,则转到下一步。
第 2 步:尝试禁用 HTTPS Everywhere 等扩展程序。这些服务自动重定向到 HTTPS 以获得更好的安全性,但在开发过程中不希望这样做。
我刚刚安装了新的 "laravel 6" 项目,并将 env 文件编辑为
APP_URL=http://instegram.local
并将文件托管到
127.0.0.1 instegram.local
和 httpd-vhosts.conf 在 xampp 到
<VirtualHost *:80>
SSLEngine off
DocumentRoot "C:/xampp/htdocs/instegram/public"
ServerName instegram.local
</VirtualHost>
然后我在 firefox 上打开了这个
http://instegram.local
它会自动将我重定向到
https://instegram.local/dashboard/
此问题仅适用于 firefox
*我重新启动了 apache 服务器
第 1 步:首先尝试在其他浏览器中打开项目。如果它仍然重定向,则可能是导致问题的项目或服务器配置。如果没有重定向,则转到下一步。
第 2 步:尝试禁用 HTTPS Everywhere 等扩展程序。这些服务自动重定向到 HTTPS 以获得更好的安全性,但在开发过程中不希望这样做。