Create a Redirection with Nginx Proxy Manager

Tiempo de lectura: < 1 minuto
Today, we are going to learn how to create a redirection with Nginx Proxy Manager.

Let’s assume that we want to redirect all traffic coming from to

First, we need to create our domain named within Proxy Host:

Now, open it and go to the Advanced section:

And add the following within Custom Nginx Configuration:

The following configuration:

location / {
    return 301$request_uri;

This way, it will perform a 301 redirection to and also concatenate the rest of the path in the URL.

Leave a Comment