diff --git a/k8s/games/minecraft/deployments.yaml b/k8s/games/minecraft/deployments.yaml index 39a719b..916aa95 100644 --- a/k8s/games/minecraft/deployments.yaml +++ b/k8s/games/minecraft/deployments.yaml @@ -22,6 +22,13 @@ data: server { listen 80; + error_page 502 /502.html; + location = /502.html { + internal; + return 200 'Server Loading

Server is loading probably...

Please wait a moment and try refreshing the page.

'; + add_header Content-Type text/html; + } + location / { proxy_pass http://localhost:8123; proxy_set_header Host $host;