From 5246ed3c64e182914b769ff64fad81afed064906 Mon Sep 17 00:00:00 2001 From: Stephen Adamson Date: Fri, 10 Jul 2026 11:00:20 +0100 Subject: [PATCH] ci: add hosts entries so nginx -t can resolve upstream service names --- .gitea/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index f9353a5..67a72de 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -912,4 +912,6 @@ jobs: run: | mkdir -p /etc/nginx/http.d cp $(pwd)/nginx/conf.d/default.conf /etc/nginx/http.d/default.conf + # Add compose service names so nginx -t can resolve upstreams + echo "127.0.0.1 backend sabredav" >> /etc/hosts nginx -t