A
A
Alexander2018-03-26 16:36:33
linux
Alexander, 2018-03-26 16:36:33

Why does chrome redirect to https on LAN?

I got into a crazy situation , I
made a new virtual host for Apache , I
launch the site - chrome redirects to https
and firefox works fine
, I can’t figure out how to disable
Debian 9
Apache2

<Directory "/home/alex/www/sweet.dev">
    AllowOverride All
    Require all granted
</Directory>

<VirtualHost *:80>
    ServerName sweet.dev
    ServerAlias www.sweet.dev
    DocumentRoot /home/alex/www/sweet.dev
    ServerAdmin [email protected]
  ErrorLog /home/alex/www/log/error.log
  CustomLog /home/alex/www/log/access.log combined
</VirtualHost>

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Stalker_RED, 2018-03-26
@alexmixaylov

Because gtld .dev hasn't been "nobody's fictional domain" for a few years now, and modern browsers know this.
https://icannwiki.org/.dev
Replace with .localor .loc, for example.

R
RidgeA, 2018-03-26
@RidgeA

https://superuser.com/a/881431/866304

A
Alexander, 2018-03-26
@alexmixaylov

Thanks everyone, I didn’t know about * .dev, I
changed the virtual host as a result

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question