web server

  1. Andy

    HSTS Implementation

    What is HSTS HSTS is the great little response header that tells a browser to always use SSL/TLS to communicate with your site. It doesn’t matter if the user, or a link they are clicking, specifies HTTP, HSTS will remove the ability for a compatible browser to use HTTP and will enforce the use...
  2. Andy

    Redirect HTTP to HTTPS using Nginx

    In this post, I will share my very simple configuration to redirect HTTP to HTTPS using Nginx web server. With my configuration below, Nginx will simply forwards port 80 to 443. Very useful when you have a service that only listens on 443 (https) then you can use Nginx to forward all of your...