nginx template: rename the upstream to avoid confusions with the container name

This commit is contained in:
maxlath
2025-02-27 18:25:32 +01:00
parent 095293b0a5
commit abbfa8216d

View File

@@ -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 {