301 redirect

  1. 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...