From abbfa8216d7033e269c9c95ca281498c2d930770 Mon Sep 17 00:00:00 2001 From: maxlath Date: Thu, 27 Feb 2025 18:25:32 +0100 Subject: [PATCH] nginx template: rename the upstream to avoid confusions with the container name --- nginx/templates/default.conf.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/templates/default.conf.template b/nginx/templates/default.conf.template index 5f33e43..eb46823 100755 --- a/nginx/templates/default.conf.template +++ b/nginx/templates/default.conf.template @@ -2,7 +2,7 @@ # which will extract environment variables before nginx starts # See https://hub.docker.com/_/nginx -upstream inventaire { +upstream inv { server inventaire:${INVENTAIRE_PORT} fail_timeout=5s; } @@ -141,7 +141,7 @@ server { proxy_read_timeout 3600; proxy_redirect off; proxy_http_version 1.1; - proxy_pass http://inventaire; + proxy_pass http://inv; } location = /favicon.ico {