We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What's the correct way to add certificates? Would it have to be along the line of haproxy.cfg and errors?
The text was updated successfully, but these errors were encountered:
You should secure them on your host machine in the system-level directories first. If your host OS is Ubuntu, for instance:
https://help.ubuntu.com/12.04/serverguide/certificates-and-security.html#installing-the-certificate
Then you simply add a read-only volume reference at runtime:
docker run \ -d \ -p 80:80 \ -p 443:443 \ -v <override-dir>:/haproxy-override \ -v /etc/ssl/certs/cert.pem:/etc/ssl/certs/cert.pem:ro \ -v /etc/ssl/private/key.pem:/etc/ssl/certs/key.pem:ro \ dockerfile/haproxy
Sorry, something went wrong.
No branches or pull requests
What's the correct way to add certificates? Would it have to be along the line of haproxy.cfg and errors?
The text was updated successfully, but these errors were encountered: