Hi, BasicAuth works fine with apache, I think:
https://github.com/docksal/ci-agent/blob/develop/base/bin/build-init#L72
but for NGINX different syntax should be used:
https://docs.docksal.io/service/web/http-auth/
NGINX_BASIC_AUTH_USER=user
NGINX_BASIC_AUTH_PASS=password
any idea how we can implement it?
Maybe one check if web uses APACHE or NGINX, and based on that add NGINX_BASIC_AUTH_* or APACHE_BASIC_AUTH_* setting... Is it possible?
Hi, BasicAuth works fine with apache, I think:
https://github.com/docksal/ci-agent/blob/develop/base/bin/build-init#L72
but for NGINX different syntax should be used:
https://docs.docksal.io/service/web/http-auth/
NGINX_BASIC_AUTH_USER=user
NGINX_BASIC_AUTH_PASS=password
any idea how we can implement it?
Maybe one check if
webuses APACHE or NGINX, and based on that add NGINX_BASIC_AUTH_* or APACHE_BASIC_AUTH_* setting... Is it possible?