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

Make it possible to configure the DisableStorageCheck setting for certmagic #6368

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

ankon
Copy link
Contributor

@ankon ankon commented Jun 3, 2024

See discussion about this setting in caddyserver/certmagic#201

Note that this doesn't expose the setting through the caddyfile, I guess that would have to happen just-about-here: https://github.com/framer/caddy/blob/5b13f9272454ea13105689fbe24a14b00421f901/caddyconfig/httpcaddyfile/tlsapp.go#L331-L334

Not sure whether that's wanted/needed, and if it is, how to best name it?

I did consider another idea of injecting some sort of "configuration adapter" here, which would take a certmagic config, do whatever it needs to do, and then return the adapted config. This could over the long term be nicer, especially for these kind of special options -- but it would also open the world to a lot more mischief. WDYT?

@ankon ankon force-pushed the pr/disable-storage-check branch from 5b13f92 to 8997483 Compare June 3, 2024 19:26
Copy link
Member

@mholt mholt left a comment

Choose a reason for hiding this comment

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

Nice, thanks. I hadn't quite gotten around to this (or it wasn't needed, can't remember). Anyway, I appreciate that it is marked as experimental. I want to improve storage checks so that they happen way less often, and maybe this won't be needed.

@mholt mholt merged commit e7ecc7e into caddyserver:master Jun 4, 2024
23 checks passed
@mholt mholt added the feature ⚙️ New feature or request label Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ⚙️ New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants