This commit is contained in:
1 parent
3d1658f41d
commit
cfc15d05eb
1 file changed
+8
-5
@@ -22,16 +22,19 @@ data:
|
||||
sub_filter_once off;
|
||||
}
|
||||
location /clients/ {
|
||||
types { }
|
||||
sendfile on;
|
||||
location ~* \.zip$ {
|
||||
add_header Content-Type application/zip;
|
||||
add_header Content-Disposition "attachment";
|
||||
}
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
tcp_nodelay on;
|
||||
keepalive_timeout 65;
|
||||
sendfile_max_chunk 1m;
|
||||
default_type application/zip;
|
||||
add_header Content-Disposition "attachment";
|
||||
alias /mc/clients/;
|
||||
autoindex on;
|
||||
add_header Accept-Ranges bytes;
|
||||
add_header Cache-Control "public, max-age=3600";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user