Welcome! Log In Create A New Profile

Advanced

Re: rewriting $arg into request.

Steve Wilson
January 31, 2020 05:00PM
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
Subject Author Posted

rewriting $arg into request.

Steve Wilson January 30, 2020 08:14PM

Re: rewriting $arg into request.

Francis Daly January 31, 2020 06:30AM

Re: rewriting $arg into request.

Steve Wilson January 31, 2020 07:12AM

RE: rewriting $arg into request.

Reinis Rozitis January 31, 2020 07:38AM

Re: rewriting $arg into request.

Steve Wilson January 31, 2020 05:00PM

Re: rewriting $arg into request.

Francis Daly January 31, 2020 08:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 65
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready