You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.
The HTTP_BASIC_AUTH variable only applies at the global level. Is it possible to require authentication for just a specific service without setting it globally and excluding every other service?
The text was updated successfully, but these errors were encountered:
I haven't tested but looking at their docs it says:
Global and default settings of HAProxy
HTTP_BASIC_AUTH -> a comma-separated list of credentials(:) for HTTP basic auth, which applies to all the backend routes. To escape comma, use ,. Attention: DO NOT rely on this for authentication in production
Settings in linked application services
EXCLUDE_BASIC_AUTH -> if set(any value) and HTTP_BASIC_AUTH global setting is set, no basic auth will be applied to this service.
Given that information I assume you apply HTTP_BASIC_AUTH on all services, but you explicitly remove authentication using EXCLUDE_BASIC_AUTH on each of your service.
The
HTTP_BASIC_AUTH
variable only applies at the global level. Is it possible to require authentication for just a specific service without setting it globally and excluding every other service?The text was updated successfully, but these errors were encountered: