nginx/docker-nginx-unprivileged

Can I install a root CA for development purposes?

Closed this issue · 1 comments

I am trying to setup mkcert and would like the Nginx unpriviledged container to have my development root CA. Because the container is unpriviledged, it seams I cannot run the commands to install an extra root CA.

Is there a solution to this? Maybe I should bind some dir?

There's not much that can be modified in these images beyond the NGINX config.

The best solution is to use the Dockerfiles in this repo as a starting point, modify them to contain your CA, and rebuild them.