• Takios@feddit.de
        link
        fedilink
        English
        arrow-up
        0
        ·
        8 months ago

        SSL (or TLS nowadays) not only protects against surveillance but also guarantees the integrity of the data you send and receive. Without it, someone could spoof the response you receive. In practice this means injecting ads or malware or even worse: fake shakespeare!

      • John Richard@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        8 months ago

        No, an .htaccess file is specific to Apache HTTP Server… although some other web servers have integrated the format. However, most browsers now automatically redirect when an HTTPS version exists.

    • baatliwala@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 months ago

      Funniest thing I’ve ever seen is the docs for Nginx do the same, no http to https redirection. I mean, you would hope that the maintainers for the biggest web server in the world would be able to manage that but somehow… No they don’t.

      • gatelike@feddit.de
        link
        fedilink
        English
        arrow-up
        0
        ·
        8 months ago

        server serves a protocol on a port. I would rather it not include logic like that. turn off the http port of you don’t want to serve http.