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

BasicAuth for NGINX #86

Open
dejanlaco opened this issue Jun 24, 2022 · 0 comments
Open

BasicAuth for NGINX #86

dejanlaco opened this issue Jun 24, 2022 · 0 comments

Comments

@dejanlaco
Copy link

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?

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

No branches or pull requests

1 participant