Update k8s/games/minecraft/deployments.yaml
All checks were successful
Check with kubeconform / lint (push) Successful in 11s
All checks were successful
Check with kubeconform / lint (push) Successful in 11s
This commit is contained in:
@@ -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;
|
||||
|
||||
location ~* \.zip$ {
|
||||
}
|
||||
alias /mc/clients/;
|
||||
autoindex on;
|
||||
|
||||
location ~* \.zip$ {
|
||||
add_header Content-Type application/zip;
|
||||
add_header Content-Disposition "attachment";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user