From 04ee2b64b11d92ff61699fa3b696ae9e1be1ffb2 Mon Sep 17 00:00:00 2001 From: afterlifepro Date: Tue, 30 Dec 2025 00:22:47 +0000 Subject: [PATCH] reverse proxy 25565 to nuc --- compose.yaml | 1 + nginx.conf | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/compose.yaml b/compose.yaml index 7593064..74f1de5 100644 --- a/compose.yaml +++ b/compose.yaml @@ -51,6 +51,7 @@ services: restart: unless-stopped ports: - 22:22001 + - 25565:25565 volumes: - ./nginx.conf:/etc/nginx/nginx.conf diff --git a/nginx.conf b/nginx.conf index 3d54667..0d926af 100644 --- a/nginx.conf +++ b/nginx.conf @@ -9,11 +9,20 @@ events { stream { upstream knot-ssh { - server pi:22001; + server 100.84.64.24:22001; + } + + upstream mc-server { + server 100.67.138.93:25565; } server { listen 22001; proxy_pass knot-ssh; } -} \ No newline at end of file + + server { + listen 25565; + proxy_pass mc-server; + } +} -- 2.51.2