Skip to content

Commit 6bd101d

Browse files
Fix redirection of SF bugs (python#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)
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