Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add htpasswd from reading containers VIRTUAL_HTPASSWD env var #1308

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

hasnat
Copy link

@hasnat hasnat commented Jul 29, 2019

Adds way to set following via ENV vars in proxied containers

  • server vhost.d using VHOST_CONF
  • location vhost.d using VHOST_LOCATION_CONF
  • htpasswd using VHOST_HTPASSWD

Adds a container env variable `SERVER_PASS` 
to replace the `proxy_pass` line
e.g.
```
SERVER_PASS='proxy_pass http://container_name:8080'
SERVER_PASS='fastcgi_pass fastcgi://container_name:8080'
SERVER_PASS='grpc_pass grpc://container_name:8080'
```
Note: This is not using upstream_name
@hasnat hasnat force-pushed the add_htpasswd branch 3 times, most recently from 5d34da9 to a7f1ec3 Compare July 29, 2019 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant