8000 Fix redirection of SF bugs (#2110) · python/pythondotorg@6bd101d · GitHub
[go: up one dir, main page]

Skip to content

Commit 6bd101d

Browse files
Fix redirection of SF bugs (#2110)
* Fix redirection of SF bugs * remove extraneous directive Co-authored-by: Ee Durbin <ewdurbin@gmail.com>
1 parent 0197bd5 commit 6bd101d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

config/nginx.conf.erb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,8 @@ http {
284284
return 302 https://peps.python.org/;
285285
}
286286

287-
location ~ ^/sf(.*)$ {
288-
if ($is_args != "") {
289-
return 302 http://legacy.python.org/sf?$args;
290-
}
291-
return 302 http://legacy.python.org/sf$1;
287+
location ~ ^/sf/(.*)$ {
288+
return 302 https://bugs.python.org/issue$1;
292289
}
293290

294291
location /news/ {

0 commit comments

Comments
 (0)
0