From a412e5e14950d8a49f653178773dcedf9906b26b Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Wed, 18 Nov 2026 09:48:05 -0500 Subject: [PATCH] fix: remove the unused nginx 8001 proxy to localhost:8000 The block came with the vscode-server template (d74d9d6, 2023), which has since been removed; nothing in the repo runs on 8000 or maps 8001 now. Left in place, it relays anything a user runs on localhost:8000 to 8001 on every interface with no auth. Ray Serve's HTTP proxy defaults to 127.0.0.1:8000, so on the Ray cluster image a Serve app kept on localhost would be reachable by anything that can reach 8001: other nodes, or the internet if a template maps the port. Co-Authored-By: Claude Opus 5.5 --- container-template/proxy/nginx.conf | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/container-template/proxy/nginx.conf b/container-template/proxy/nginx.conf index 948a6344..9621e6d0 100644 --- a/container-template/proxy/nginx.conf +++ b/container-template/proxy/nginx.conf @@ -73,19 +73,6 @@ http { include snippets/nginx-error-handling.conf; } - # vscode server - server { - listen 8001; - - location / { - add_header Cache-Control no-cache; - include snippets/nginx-proxy.conf; - proxy_pass http://localhost:8000; - } - - include snippets/nginx-error-handling.conf; - } - # Dockerless CLI FastAPI Server server { listen 7270; # "rp" in Hex ASCII