rewriting $arg into request.

Steve Wilson lists-nginx at
Fri Jan 31 21:57:58 UTC 2020

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.


More information about the nginx mailing list