Skip to content

Commit

Permalink
Redirect PEP 594 dead batteries (part 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Oct 21, 2024
1 parent d4ef1d9 commit 1f2663d
Show file tree
Hide file tree
Showing 2 changed files with 1,368 additions and 3 deletions.
2 changes: 1 addition & 1 deletion salt/docs/config/nginx.docs-redirects.conf
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ location ~ ^/([a-z-]*/)?(3|3.5|3.6|3.7|3.8|3.9|3.10)/library/_winreg.html$ {
location ~ ^/([a-z-]*/)?(3|3.12|3.13|3.14)/library/(asynchat|asyncore|smtpd).html$ {
return 301 https://$host/$1$2/;
}
location ~ ^/([a-z-]*/)?(3.13|3.14)/library/(2to3|aifc|audioop|cgi|cgitb|chunk|crypt|imghdr|mailcap|msilib|nis|nntplib|ossaudiodev|pipes|sndhdr|spwd|sunau|telnetlib|tkinter.tix|uu|xdrlib).html$ {
location ~ ^/([a-z-]*/)?(3|3.13|3.14)/library/(2to3|aifc|audioop|cgi|cgitb|chunk|crypt|imghdr|mailcap|msilib|nis|nntplib|ossaudiodev|pipes|sndhdr|spwd|sunau|telnetlib|tkinter.tix|uu|xdrlib).html$ {
return 301 https://$host/$1$2/;
}

Expand Down
Loading

0 comments on commit 1f2663d

Please sign in to comment.