Re: Custom redirect for one page from https to http with different name.

2024-01-09 Thread Francis Daly
On Mon, Jan 08, 2024 at 02:22:14PM -0500, James Read wrote: Hi there, > how would I redirect https://example.com/oldname.php to > http://example.com/newname.php Within the https server{} block: location = /oldname.php { return 301 http://example.com/newname.php; } should do it. (Other

Custom redirect for one page from https to http with different name.

2024-01-08 Thread James Read
Hi, how would I redirect https://example.com/oldname.php to http://example.com/newname.php Thanks ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx