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:39:20 +00:00
parent 7565c6c34f
commit 02ec8fd4e1

View File

@@ -6,15 +6,17 @@ metadata:
namespace: minecraft
data:
nginx.conf: |
user nginx;
worker_processes 1;
user nginx;
worker_processes 1;
events {
worker_connections 1024;
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
server {
listen 80;
location / {
proxy_pass http://localhost:8123;
sub_filter 'Minecraft Dynamic Map' "Hexor's MC server";
@@ -22,11 +24,13 @@ data:
sub_filter_once off;
}
location /clients/ {
alias /mc/clients/;
autoindex on;
alias /mc/clients/;
autoindex on;
location ~* \.zip$ {
}
location ~* \.zip$ {
add_header Content-Type application/zip;
add_header Content-Disposition "attachment";
}
}
}
}