diff --git a/k8s/games/minecraft/deployments.yaml b/k8s/games/minecraft/deployments.yaml index ba35263..81a1425 100644 --- a/k8s/games/minecraft/deployments.yaml +++ b/k8s/games/minecraft/deployments.yaml @@ -22,6 +22,12 @@ 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;