Skip to content

Commit 3841adb

Browse files
authored
redirect peps rss (#2030)
1 parent ceb0bf9 commit 3841adb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/nginx.conf.erb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,10 @@ http {
260260
return 301 https://pypi.python.org/pypi$1?$args;
261261
}
262262

263+
location ~ ^/dev/peps/peps.rss/?$ {
264+
return 301 https://peps.python.org/peps/peps.rss/;
265+
}
266+
263267
location ~ ^/peps/pep-(.*)\.html$ {
264268
return 301 https://www.python.org/dev/peps/pep-$1/;
265269
}

0 commit comments

Comments
 (0)