Skip to content

Commit 12a2bc4

Browse files
committed
Merge branch 'main' into release
2 parents b68e0fe + 861e536 commit 12a2bc4

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

Diff for: base-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ django-sitetree==1.17.0
44
django-apptemplates==1.5
55
django-admin-interface==0.24.2
66
django-translation-aliases==0.1.0
7-
Django==2.2.24
7+
Django==2.2.28
88
docutils==0.12
99
Markdown==3.3.4
1010
cmarkgfm==0.6.0

Diff for: config/nginx.conf

+5-9
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ http {
5050
return 301 http://www.python.org/psf;
5151
}
5252

53-
location /psf/codeofconduct {
54-
return 301 /psf/conduct;
55-
}
56-
5753
location /topics/xml {
5854
return 301 http://pyxml.sourceforge.net/topics;
5955
}
@@ -314,19 +310,19 @@ http {
314310
return 301 https://python.org/blogs/;
315311
}
316312

317-
location ^/psf/archive/codeofconduct/?$ {
313+
location ~ ^/psf/archive/codeofconduct/?$ {
318314
return 302 https://policies.python.org/python.org/code-of-conduct/;
319315
}
320-
location ^/psf/codeofconduct/?$ {
316+
location ~ ^/psf/codeofconduct/?$ {
321317
return 302 https://policies.python.org/python.org/code-of-conduct/;
322318
}
323-
location ^/psf/conduct/?$ {
319+
location ~ ^/psf/conduct/?$ {
324320
return 302 https://policies.python.org/python.org/code-of-conduct/;
325321
}
326-
location ^/psf/conduct/enforcement/?$ {
322+
location ~ ^/psf/conduct/enforcement/?$ {
327323
return 302 https://policies.python.org/python.org/code-of-conduct/Enforcement-Procedures/;
328324
}
329-
location ^/psf/conduct/reporting/?$ {
325+
location ~ ^/psf/conduct/reporting/?$ {
330326
return 302 https://policies.python.org/python.org/code-of-conduct/Procedures-for-Reporting-Incidents/;
331327
}
332328

0 commit comments

Comments
 (0)