We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95304aa commit 1a01fceCopy full SHA for 1a01fce
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