You can connect using https without a redirect from http to nginx?

Now the server receives the request on port 80 and does the redirect, is it possible to exclude all non-secure connection and to remove the redirect virus?
March 19th 20 at 09:14
3 answers
March 19th 20 at 09:16
If you mean at the network level, no. The browser when a connection uses the http scheme, if you try to start SSL khendsheyk everything will take a stake. And what unconditional redirect is not satisfied?
When the https connection through port 443 without redirect http to https, what will happen? Http website is not available, and https? Or will be available on both protocols? - betty_Kuhlman commented on March 19th 20 at 09:19
@betty_Kuhlmandepends on the configuration of the web server. If the HTTP configuration is similar to the HTTPS version, just open the same website. - zoila57 commented on March 19th 20 at 09:22
March 19th 20 at 09:18
Yes.
March 19th 20 at 09:20
HSTS

Find more questions by tags Nginx