Skip to content

Commit

Permalink
change environment variable name to BACKEND_HOST_AND_PORT
Browse files Browse the repository at this point in the history
  • Loading branch information
David Smith committed Dec 15, 2023
1 parent e19bc02 commit 46eb286
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
2 changes: 1 addition & 1 deletion http-auth-proxy.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ server {
}

upstream protected_backend {
server ${BACKEND_URL};
server ${BACKEND_HOST_AND_PORT};
}

0 comments on commit 46eb286

Please sign in to comment.