epicagency / caddy-expires

Provides a directive to add expires headers to certain paths
MIT License
4 stars 3 forks source link

Plugin is incompatible with cloudflare provider #9

Closed bendem closed 4 years ago

bendem commented 5 years ago

I tried updating caddy recently, but I had to disable this plugin because it will not work when included together with tls.dns.cloudflare. It works fine when it is used alone.

You can reproduce the problem from your command line using:

curl "https://caddyserver.com/download/linux/amd64?license=personal&telemetry=off&plugins=http.expires,tls.dns.cloudflare"
provisioning build environment: go mod init: exit status 1
hlidotbe commented 4 years ago

I just did that and it builds correctly both locally and through caddy build server. I was probably an issue either with the cloudflare plugin or the build server.

bendem commented 4 years ago

Guess so, thanks for getting back to me.