Skip to content

Commit c4a89f1

Browse files
committed
Merge branch 'main' into release
2 parents 12390dc + 32071fb commit c4a89f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config/nginx.conf.erb

+4-4
Original file line numberDiff line numberDiff line change
@@ -208,19 +208,19 @@ http {
208208
return 301 https://www.python.org/download/windows/;
209209
}
210210

211-
location /download/ {
211+
location ~ ^/download/$ {
212212
return 301 https://www.python.org/downloads/;
213213
}
214214

215-
location /download/source/ {
215+
location ~ ^/download/source/$ {
216216
return 301 https://www.python.org/downloads/source/;
217217
}
218218

219-
location /download/mac/ {
219+
location ~ ^/download/mac/$ {
220220
return 301 https://www.python.org/downloads/macos/;
221221
}
222222

223-
location /download/windows/ {
223+
location ~ ^/download/windows/$ {
224224
return 301 https://www.python.org/downloads/windows/;
225225
}
226226

0 commit comments

Comments
 (0)