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

This commit is contained in:
ab
2025-07-09 09:35:31 +00:00
parent cfc15d05eb
commit a45c11f883

View File

@@ -22,19 +22,23 @@ data:
sub_filter_once off; sub_filter_once off;
} }
location /clients/ { location /clients/ {
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;
alias /mc/clients/; alias /mc/clients/;
autoindex on; autoindex on;
add_header Accept-Ranges bytes;
add_header Cache-Control "public, max-age=3600"; location ~* \.zip$ {
add_header Content-Length $body_bytes_sent always;
add_header Content-Type application/zip always;
add_header Content-Disposition "attachment" always;
add_header Accept-Ranges bytes always;
proxy_buffering off;
sendfile on;
}
} }
} }
} }