Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Adds option for turning off basic auth for selected service(s) #154

Merged
merged 1 commit into from
Jan 23, 2017

Conversation

stevenjack
Copy link

Problem

We have a number of services that sit behind our ha-proxy instance (i.e our app, nginx container for static assets) and requests are routed based on the virtual host. We'd like to add basic auth to our staging environment however at the moment HTTP_BASIC_AUTH is a blanket setting that covers all backends. It would be great if we could selectively disable auth being applied to a backend at a service level.

Solution

Add a property that can be applied to a linked service, EXCLUDE_BASIC_AUTH. Once set that service will be excluded from having basic auth applied to it.

@tifayuki tifayuki changed the base branch from master to staging January 23, 2017 22:44
@tifayuki tifayuki merged commit 5d76e70 into docker-archive:staging Jan 23, 2017
@tifayuki
Copy link
Contributor

Merged to staging.
Thank you

@stevenjack stevenjack deleted the feat/conditional-basic-auth branch February 10, 2017 14:25
tifayuki pushed a commit that referenced this pull request Feb 15, 2017
* Adds option for turning off basic auth for selected services (#154)

* Allow a service to be configured as failover for another service in the same backend (#120)

* Added support for hot-failover mode

* Updated README

* Add ability to pass hashed password credentials to HAproxy. (#107)

* Remove DHE-RSA-AES128-SHA from SSL_BIND_CIPHERS (#103)

* fixed tests error by PRs

* do not return haproxy ingress network (#160)

* fix the error introduced by EXCLUDE_BASIC_AUTH

* bump version
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants