-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Show how to add SSL certficates #17
Comments
Maybe you should link the container with an other container (nginx for example) |
Of course, that makes perfect sense. Thanks. |
Did anyone get it running with nginx? It would be a great help if someone could provide his working nginx.conf ... |
@hurik here we go:
|
I wouldn't recommend using I'd recommend starting at the Mozilla SSL Config Generator to get some good SSL settings that work for the latest Nginx and OpenSSL versions and your known user base: https://mozilla.github.io/server-side-tls/ssl-config-generator/ |
That |
One more thing to bear in mind is that log performance with that config will be terrible if Why not log to STDOUT and STDERR like the stock |
Thanks for the information, I got it running. I only activated SSL (https://mozilla.github.io/server-side-tls/ssl-config-generator/ with modern configuration) and changed the port to 4344. It's my first time working with nginx, so I'm open for optimizations. Installation:
default.conf (nginx):
dhparam.pem generated with:
files and folders on host:
|
Thank you to share your code hurik. I can run postgres and odoo, but I got this error when trying to docker run nginx
Any idea where I'm wrong and how to fix it? |
Just leaving some automated resources here:
@Kazebayashi looks like you forgot to define the default.conf, causing docker to make a folder, causing nginx to crash while trying to read a folder like a file 😉. |
Thanks Thomas for your resources. |
It would be nice if the instructions would show how to configure a custom SSL certificate so Odoo can be securely connected.
The text was updated successfully, but these errors were encountered: