How to Setup 301 Redirect in Nginx?

Setup 301 Redirect in Nginx

301 redirect is very easy to setup if we are using Apache webserver, usually we do it via editing the .htaccess file, however if we switched to Nginx webserver then we will find that the old .htaccess 301 trick doesn’t work here. So, here is how to apply a 301 redirect in Nginx? It is almost as easy […]