On 31/01/2020 12:37, Reinis Rozitis wrote:

if ($arg_p) {
        return 301http://yoursite/p/$arg_p;
}

This is what I was originally looking for, however as I've only 20 pages to manage the individual redirects via the map directive I believe will work better as it will remove a additional redirect.

Steve.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to