Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Dokku Letsencrypt package will not work while maintenance mode is on #10

Open
martinmain93 opened this issue Mar 12, 2020 · 2 comments
Open

Comments

@martinmain93
Copy link

No description provided.

@Tashows
Copy link

Tashows commented Sep 9, 2021

I think this is expected. Maintenance gives you the ability to take your app completely offline, while showing a proper message (or even a custom page), which means the app cannot communicate with the internet and so the letsencrypt process won't be able to verify that your app is actually running on the domain specified. I don't think there is a way around that. For my app, I had already obtained a certificate while the app was online and when I enabled maintenance, the page was loaded via https without any problems.

@josegonzalez
Copy link
Member

I think if someone can figure out how to modify our default maintenance.conf to scope the location block to not include the .well-known path letsencrypt uses, that would work. That said, I don't have enough time to investigate, and I also don't know if its possible without a weird nginx regex.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants