Update k8s/games/minecraft/deployments.yaml
All checks were successful
Check with kubeconform / lint (push) Successful in 21s

This commit is contained in:
ab
2025-07-09 09:33:02 +00:00
parent 3d1658f41d
commit cfc15d05eb

View File

@@ -22,16 +22,19 @@ data:
sub_filter_once off; sub_filter_once off;
} }
location /clients/ { location /clients/ {
types { } location ~* \.zip$ {
add_header Content-Type application/zip;
add_header Content-Disposition "attachment";
}
sendfile on; sendfile on;
tcp_nopush on; tcp_nopush on;
tcp_nodelay on; tcp_nodelay on;
keepalive_timeout 65; keepalive_timeout 65;
sendfile_max_chunk 1m; sendfile_max_chunk 1m;
default_type application/zip;
add_header Content-Disposition "attachment";
alias /mc/clients/; alias /mc/clients/;
autoindex on; autoindex on;
add_header Accept-Ranges bytes;
add_header Cache-Control "public, max-age=3600";
} }
} }
} }