Creating a redirection with Nginx Proxy Manager

Tiempo de lectura: 2 minutos

Today we’re going to learn how to create a redirection using Nginx Proxy Manager.

The first thing we’ll do is open the Nginx Proxy Manager interface and select Hosts > Redirection Hosts.

We fill in the data:

We will put the name of the original domain we want to redirect from, to the domain we want to redirect to.

  • Remember that these domains must point to the IP where you have the Nginx Proxy Manager deployed.

We indicate HTTP code -> 301 Moved Permanently

And we Mark Preserve Path and Block Common Exploits.

Now we select SSL and request to apply for a new SSL certificate, force SSL, activate HTTP/2, HSTS, and HSTS Subdomains.

Finally, we must accept the terms of use of the Let’s Encrypt service. And click on save.

Important, the destination server already has SSL configured with a Proxy Host.

Leave a Comment