From 01a88e21a27ebc66b9c91a8f2faea8edbd4cc4b4 Mon Sep 17 00:00:00 2001 From: ab Date: Wed, 9 Jul 2025 11:22:55 +0000 Subject: [PATCH] Update k8s/games/minecraft/deployments.yaml --- k8s/games/minecraft/deployments.yaml | 7 +++++++ 1 file changed, 7 insertions(+) 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;