Answer the question
In order to leave comments, you need to log in
Why does it redirect to https when substituting any domain instead of localhost?
Good day!
There was a need to set up a domain on a local server (apache + mysql, an assembly like openserver / denver / xampp is not ready). I registered the necessary changes in the httpd.conf and host files. Everything works, only one caveat, for some reason it automatically redirects to https://, which returns ERR_CONNECTION_REFUSED. The site itself does not have any redirects to https.
Changes in files:
httpd.conf
NameVirtualHost *:80
<VirtualHost *:80>
ServerName mysite.dev
DocumentRoot "C:/Program Files/Apache/htdocs/"
ErrorDocument 404 /
ErrorLog C:/nul
</VirtualHost>
127.0.0.1 mysite.dev
Answer the question
In order to leave comments, you need to log in
Perhaps this is the reason
https://laravel-news.com/chrome-63-now-forces-dev-...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question