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