From 46eb28687f659596533fb4cda22e6f85c7965ddb Mon Sep 17 00:00:00 2001 From: David Smith Date: Fri, 15 Dec 2023 10:23:47 +0000 Subject: [PATCH] change environment variable name to BACKEND_HOST_AND_PORT --- README.md | 2 +- http-auth-proxy.conf.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1c474a6..ce3081a 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Docker image that allows for configuration of a simple HTTP reverse proxy with H docker run \ -e HTTP_AUTH_USERNAME=some_user \ -e HTTP_AUTH_PASSWORD=some_password \ - -e BACKEND_URL=http://some-important-backend-url \ + -e BACKEND_HOST_AND_PORT=private-backend-hostname:3100 \ -p 80:80 \ codesmithtech/http-auth-proxy:latest ``` diff --git a/http-auth-proxy.conf.template b/http-auth-proxy.conf.template index 2e9d91e..0322473 100644 --- a/http-auth-proxy.conf.template +++ b/http-auth-proxy.conf.template @@ -12,5 +12,5 @@ server { } upstream protected_backend { - server ${BACKEND_URL}; + server ${BACKEND_HOST_AND_PORT}; }