This commit is contained in:
@@ -35,7 +35,13 @@ data:
|
||||
autoindex on;
|
||||
|
||||
location ~* \.zip$ {
|
||||
sendfile off;
|
||||
|
||||
add_header Content-Type application/zip;
|
||||
add_header Content-Disposition "attachment";
|
||||
add_header Accept-Ranges bytes;
|
||||
|
||||
try_files $uri =404;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user