8000
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 95304aa commit 32071fbCopy full SHA for 32071fb
config/nginx.conf.erb
@@ -208,19 +208,19 @@ http {
208
return 301 https://www.python.org/download/windows/;
209
}
210
211
- location /download/ {
+ location ~ ^/download/$ {
212
return 301 https://www.python.org/downloads/;
213
214
215
- location /download/source/ {
+ location ~ ^/download/source/$ {
216
return 301 https://www.python.org/downloads/source/;
217
218
219
- location /download/mac/ {
+ location ~ ^/download/mac/$ {
220
return 301 https://www.python.org/downloads/macos/;
221
222
223
- location /download/windows/ {
+ location ~ ^/download/windows/$ {
224
return 301 https://www.python.org/downloads/windows/;
225
226
0 commit comments