From eccdd27ec5d0a8d16116c79e9f96d0d97f2b0ddb Mon Sep 17 00:00:00 2001 From: ITQ Date: Fri, 25 Jul 2025 17:16:14 +0300 Subject: [PATCH] feat: added more services to proxy --- infrastructure/caddy/Caddyfile | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/infrastructure/caddy/Caddyfile b/infrastructure/caddy/Caddyfile index a1fecbf..00b288b 100644 --- a/infrastructure/caddy/Caddyfile +++ b/infrastructure/caddy/Caddyfile @@ -5,8 +5,14 @@ } adnova.itqdev.xyz { - handle_path /health/* { + @healthPath path /health /health/* + handle @healthPath { import basic-auth + reverse_proxy http://backend:8080 + } + + handle_path /static/* { + reverse_proxy http://backend-staticfiles:80 } reverse_proxy http://backend:8080 @@ -16,6 +22,7 @@ admin.adnova.itqdev.xyz { import basic-auth root * /var/www/admin + file_server } loadtest.adnova.itqdev.xyz { @@ -27,3 +34,23 @@ loadtest.adnova.itqdev.xyz { grafana.adnova.itqdev.xyz { reverse_proxy http://grafana:3000 } + +pgadmin.adnova.itqdev.xyz { + reverse_proxy http://pgadmin:80 +} + +zipkin.adnova.itqdev.xyz { + import basic-auth + + reverse_proxy http://zipkin:9411 +} + +prometheus.adnova.itqdev.xyz { + import basic-auth + + reverse_proxy http://prometheus:9090 +} + +minio.adnova.itqdev.xyz { + reverse_proxy http://minio:9000 +}