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

DNS challenge with Cloudflare #650

Open
cirrusflyer opened this issue Aug 11, 2024 · 3 comments
Open

DNS challenge with Cloudflare #650

cirrusflyer opened this issue Aug 11, 2024 · 3 comments

Comments

@cirrusflyer
Copy link

I've downloaded a custom build that includes this plugin and the Cloudflare plugin. It works with manually configured sites using the Caddyfile using DNS challenge. I'm not sure how to get it to work with containers configured to use caddy-docker-plugin, or even if it's possible. Any help would be appreciated.

@francislavoie
Copy link
Collaborator

This plugin just produces Caddyfile config. If you can do it with a Caddyfile, you can do it with this. You just need to transform it to Docker labels.

@cirrusflyer
Copy link
Author

Thanks, after finding this and getting it to work, I think I understand better now.

https://github.com/homeall/caddy-reverse-proxy-cloudflare

Can this work with an existing Caddyfile in addition to these dynamically generated ones? I assume not, but making sure I understand completely.

@polarathene
Copy link

polarathene commented Aug 30, 2024

Can this work with an existing Caddyfile in addition to these dynamically generated ones?

If you just want to add some Caddyfile contents of your own you could mount separate files into the CDP image and use the import directive as a label to add such.

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

No branches or pull requests

3 participants