https-portal icon indicating copy to clipboard operation
https-portal copied to clipboard

Question - Docker: Basic-Auth and ACLs on containers, not NGINX?

Open nunnsby opened this issue 3 years ago • 0 comments

I'd like to know if it is possible to have the Basic-Auth and the ACLS created at the container level and NOT the NGINX level?

I find I have to update the ACLs and sometimes the auth settings for various containers, as they may be short lived or temporary, and this always requires changing and reloading the actual NGINX yml file. It would be great if it could auto-add the required configs when an individual container is added/removed. This would allow to run a container only for a specific time, and not have to restart NGINX all the time.

It also breaks NGINX if I added the Auth and a forwarder to the container, in the DOMAIN section, and then the container has been stopped. This requires manually having to remove the DOMAIN item and restarting NGINX.

nunnsby avatar Dec 29 '22 11:12 nunnsby