Answer the question
In order to leave comments, you need to log in
Why is there no access via HTTP, but there is via HTTPS?
I'm learning how to work with virtual machines, ubuntu and other software... I didn't immediately start to delve into the essence, I had to break my head for a couple of days! And it seems like I installed everything, did the initial setup, but for some reason there is no access via HTTP, while there is via HTTPS ... Ports 80 and 443 are open, the domain is fixed via cloudflare.com , first I registered NS cloudflare with the registrar , further there I indicated Ip through the A record and registered the NS addresses of the virtual machine itself ... Why could this happen, where should I look? Thank you!
Answer the question
In order to leave comments, you need to log in
Most likely, a redirect from http to https is enabled, you can check it like this:
curl http://lenta.ru -I
HTTP/1.1 301 Moved Permanently
Server: nginx/1.13.4
Date: Sat, 15 Feb 2020 20:11:28 GMT
Content-Type: text/html
Connection: keep-alive
Location: https://lenta.ru/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question