From dc48d52d7577636a42e8ce2d57482cae9795bb28 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Sun, 27 Aug 2023 21:52:25 +0200 Subject: [PATCH] fix(caddy): use hostname instead of ip Signed-off-by: Tilman Vatteroth --- dev-reverse-proxy/Caddyfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dev-reverse-proxy/Caddyfile b/dev-reverse-proxy/Caddyfile index 2325360e7..0a545f8da 100644 --- a/dev-reverse-proxy/Caddyfile +++ b/dev-reverse-proxy/Caddyfile @@ -12,9 +12,9 @@ log { format console } -reverse_proxy /realtime http://127.0.0.1:{$HD_BACKEND_PORT:3000} -reverse_proxy /api/* http://127.0.0.1:{$HD_BACKEND_PORT:3000} -reverse_proxy /public/* http://127.0.0.1:{$HD_BACKEND_PORT:3000} -reverse_proxy /uploads/* http://127.0.0.1:{$HD_BACKEND_PORT:3000} -reverse_proxy /apidoc/* http://127.0.0.1:{$HD_BACKEND_PORT:3000} -reverse_proxy /* http://127.0.0.1:{$HD_FRONTEND_PORT:3001} +reverse_proxy /realtime http://localhost:{$HD_BACKEND_PORT:3000} +reverse_proxy /api/* http://localhost:{$HD_BACKEND_PORT:3000} +reverse_proxy /public/* http://localhost:{$HD_BACKEND_PORT:3000} +reverse_proxy /uploads/* http://localhost:{$HD_BACKEND_PORT:3000} +reverse_proxy /apidoc/* http://localhost:{$HD_BACKEND_PORT:3000} +reverse_proxy /* http://localhost:{$HD_FRONTEND_PORT:3001}