From 995d25176af94e4c0465428503225a7b3861c188 Mon Sep 17 00:00:00 2001 From: Ee Durbin Date: Mon, 11 Mar 2024 11:28:11 -0400 Subject: [PATCH] followup on 2399 - Repair syntax for redirects - Remove now extraneous redirect --- config/nginx.conf | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/config/nginx.conf b/config/nginx.conf index f5729b148..420fcd8af 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -50,10 +50,6 @@ http { return 301 http://www.python.org/psf; } - location /psf/codeofconduct { - return 301 /psf/conduct; - } - location /topics/xml { return 301 http://pyxml.sourceforge.net/topics; } @@ -314,19 +310,19 @@ http { return 301 https://python.org/blogs/; } - location ^/psf/archive/codeofconduct/?$ { + location ~ ^/psf/archive/codeofconduct/?$ { return 302 https://policies.python.org/python.org/code-of-conduct/; } - location ^/psf/codeofconduct/?$ { + location ~ ^/psf/codeofconduct/?$ { return 302 https://policies.python.org/python.org/code-of-conduct/; } - location ^/psf/conduct/?$ { + location ~ ^/psf/conduct/?$ { return 302 https://policies.python.org/python.org/code-of-conduct/; } - location ^/psf/conduct/enforcement/?$ { + location ~ ^/psf/conduct/enforcement/?$ { return 302 https://policies.python.org/python.org/code-of-conduct/Enforcement-Procedures/; } - location ^/psf/conduct/reporting/?$ { + location ~ ^/psf/conduct/reporting/?$ { return 302 https://policies.python.org/python.org/code-of-conduct/Procedures-for-Reporting-Incidents/; } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy