Comments (4)
See the docs on https://hub.docker.com/_/caddy, it should cover everything you need to know.
FROM caddy:<version>-builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare
FROM caddy:<version>
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
from cloudflare.
I second this request.
from cloudflare.
Thank you for that info, I had not seen it on the Caddy site or anywhere else prior, and that is definitely easy enough.
I did attempt this, but am getting the following "Invalid request headers" error:
"tls.obtain","msg":"will retry","error":"[<mysite.com>] Obtain: [<mysite.com>] solving challenges: presenting for challenge: adding temporary record for zone <mysite.com>.: got error status: HTTP 400: [{Code:6003 Message:Invalid request headers}]
Is that something with the plugin, or did I probably do something incorrectly? (I, of course, just changed the message to <mysite.com>)
from cloudflare.
Is that something with the plugin, or did I probably do something incorrectly?
For me, I had accidentally run Caddy without providing my CF API token via ENV var which the Caddyfile config expected.
That resulted in Cloudflare error to Caddy "Invalid request headers". Correctly setting the ENV so Caddy had an actual value to use resolved it :)
from cloudflare.
Related Issues (20)
- Certificate for private ip HOT 6
- Error building with cloudflare dns and xcaddy (i/o timeout) HOT 3
- Issue with resolvers HOT 1
- unrecognized directive: dns HOT 2
- Caddy Github Repo Link HOT 2
- Split DNS issue HOT 1
- Latest dependencies update broke caddy builder HOT 14
- malformed module path "https:/github.com/caddy-dns/cloudflare": invalid char ':' HOT 2
- Fails to build: cannot use h.allow0RTT (variable of type bool) as tls.QUICSessionTicketOptions HOT 2
- [Feature Request] Please consider tagging this repo to Caddy versions HOT 6
- Docker builds fail due to requirement for unreleased Caddy version HOT 2
- Dependencies with caddy 2.7.3 should be 2.7.2 HOT 1
- Building Doesn't work with the Latest Caddy Version 2.7.2 HOT 3
- Building with caddy from OMV terminal just gets exit status 2 HOT 1
- Build failed with golang 1.21 HOT 1
- Can modules be installed to an existing caddy installation? HOT 4
- Fatal error build with windows using master with latest release HOT 2
- Missing API token results in unintuitve error message HOT 5
- Adding temporary record for zone .in? HOT 3
- docker compose up error value in struct literal HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudflare.