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

nginx won't start with out keys #6

chrishoage opened this Issue Jan 5, 2017 · 2 comments


None yet
2 participants

chrishoage commented Jan 5, 2017

I've run into a chicken and egg problem: My nginx config references the paths to the letsencrypt keys, which won't exist first run.

This prevents the service from starting and allowing certbot to connect and auth the domain.

My solution for the moment was to comment out the entire ssl server block, let it do its thing, then bring down the containers and re-enable the ssl server block.

This worked! But is pretty painful, I'm curious if you have a more elegant solution?

(Excellent work, this is super simple and easy)


This comment has been minimized.


kvaps commented Mar 7, 2017

Yes I know your problem,
I think I will add generating self-signed certificate before for make nginx working with ssl section.


This comment has been minimized.


kvaps commented Dec 3, 2018

Probably fixed, thanks @Manuel-S

@kvaps kvaps closed this Dec 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment