Skip to content
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

Force caddy reload on cert changes #13

Merged
merged 1 commit into from
Nov 15, 2022
Merged

Force caddy reload on cert changes #13

merged 1 commit into from
Nov 15, 2022

Conversation

rahearn
Copy link
Contributor

@rahearn rahearn commented Nov 14, 2022

Looks like the non-force version of caddy reload compares the Caddyfile first, and doesn't actually reload caddy because that file didn't change when the cert files did.

@rahearn
Copy link
Contributor Author

rahearn commented Nov 14, 2022

I'll be deploying this to notify today and will have full verification that it works as intended tomorrow, but using --force by hand resulted in the new ssl cert being picked up.

@rahearn
Copy link
Contributor Author

rahearn commented Nov 15, 2022

I just verified that our deployed version with this fix properly read the updated cert and loaded it into caddy.

@rahearn
Copy link
Contributor Author

rahearn commented Nov 15, 2022

@GSA/data-gov-team I think one of you may need to approve this before it can be merged.

Copy link
Contributor

@btylerburton btylerburton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. 👍🏼

@btylerburton btylerburton merged commit e44fdf0 into GSA-TTS:main Nov 15, 2022
@rahearn rahearn deleted the reload-caddy branch November 15, 2022 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants