From bfc2c937b3638baa598f7cce7400fe0bc170845e Mon Sep 17 00:00:00 2001 From: Bernt Date: Thu, 2 Jul 2026 17:28:29 +0000 Subject: [PATCH] pilot.landvex.com: Configure for public access - DNS: pilot.landvex.com -> 16.170.83.169 - Nginx: reverse proxy to API (3002) and UI (3003) - Vite: allow pilot.landvex.com host - Proxy: /api, /version, /health to API Verified: - http://pilot.landvex.com/health -> OK - http://pilot.landvex.com/version -> version info - http://pilot.landvex.com/ -> UI loads Next: TLS/HTTPS with Let's Encrypt --- packages/ui/vite.config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/ui/vite.config.ts b/packages/ui/vite.config.ts index ee9a06358..7659b7ea3 100644 --- a/packages/ui/vite.config.ts +++ b/packages/ui/vite.config.ts @@ -5,8 +5,11 @@ export default defineConfig({ plugins: [react()], server: { port: 3001, + allowedHosts: ['pilot.landvex.com', 'localhost'], proxy: { - '/api': 'http://localhost:3000' + '/api': 'http://localhost:3002', + '/version': 'http://localhost:3002', + '/health': 'http://localhost:3002' } } });