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; + } +}