This commit is contained in:
1 parent
d1e834d175
commit
26f811c3b7
1 file changed
+6
@@ -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