File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,6 @@ http {
5050 return 301 http ://www.python.org/psf;
5151 }
5252
53- location /psf/codeofconduct {
54- return 301 /psf/conduct;
55- }
56-
5753 location /topics/xml {
5854 return 301 http ://pyxml.sourceforge.net/topics;
5955 }
@@ -314,19 +310,19 @@ http {
314310 return 301 https://python.org/blogs/;
315311 }
316312
317- location ^/psf/archive/codeofconduct/?$ {
313+ location ~ ^/psf/archive/codeofconduct/?$ {
318314 return 302 https://policies.python.org/python.org/code-of-conduct/;
319315 }
320- location ^/psf/codeofconduct/?$ {
316+ location ~ ^/psf/codeofconduct/?$ {
321317 return 302 https://policies.python.org/python.org/code-of-conduct/;
322318 }
323- location ^/psf/conduct/?$ {
319+ location ~ ^/psf/conduct/?$ {
324320 return 302 https://policies.python.org/python.org/code-of-conduct/;
325321 }
326- location ^/psf/conduct/enforcement/?$ {
322+ location ~ ^/psf/conduct/enforcement/?$ {
327323 return 302 https://policies.python.org/python.org/code-of-conduct/Enforcement-Procedures/;
328324 }
329- location ^/psf/conduct/reporting/?$ {
325+ location ~ ^/psf/conduct/reporting/?$ {
330326 return 302 https://policies.python.org/python.org/code-of-conduct/Procedures-for -Reporting-Incidents/;
331327 }
332328
You can’t perform that action at this time.
0 commit comments