We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8631ca commit 0fb5715Copy full SHA for 0fb5715
config/nginx.conf.erb
@@ -268,6 +268,18 @@ http {
268
return 302 https://www.python.org/dev/peps/;
269
}
270
271
+ location ~ ^/dev/peps/?(.*)$ {
272
+ return 302 https://peps.python.org/$1/;
273
+ }
274
+
275
+ location ~ ^/peps/(.*)\.html$ {
276
277
278
279
+ location ^/(dev/)?peps(/.*)?$ {
280
+ return 302 https://peps.python.org/;
281
282
283
location ~ ^/sf(.*)$ {
284
if ($is_args != "") {
285
return 302 http://legacy.python.org/sf?$args;
0 commit comments