Commit f8a0e080 authored by Noah Prail's avatar Noah Prail

chore: Upgrade caddy to 1.0.1

parent 31cdc627
Pipeline #13245 passed with stage
in 1 minute and 48 seconds
...@@ -7,9 +7,7 @@ WORKDIR /app ...@@ -7,9 +7,7 @@ WORKDIR /app
RUN apk add --no-cache git gcc musl-dev RUN apk add --no-cache git gcc musl-dev
ENV GO111MODULE=on ENV GO111MODULE=on
ENV VERSION=1.0.0
RUN go get github.com/mholt/caddy@v${VERSION} && \ RUN go build
go build
ENTRYPOINT ["/app/caddy"] ENTRYPOINT ["/app/caddy"]
\ No newline at end of file
...@@ -2,4 +2,9 @@ module caddy ...@@ -2,4 +2,9 @@ module caddy
go 1.12 go 1.12
require github.com/mholt/caddy v1.0.0 require (
github.com/caddyserver/caddy v1.0.1
github.com/caddyserver/dnsproviders v0.3.0
)
replace github.com/h2non/gock => gopkg.in/h2non/gock.v1 v1.0.14
This diff is collapsed.
package main package main
import ( import (
"github.com/mholt/caddy/caddy/caddymain" "github.com/caddyserver/caddy/caddy/caddymain"
_ "github.com/caddyserver/dnsproviders/cloudflare"
) )
func main() { func main() {
......
* { * {
proxy / https://stagings-pages.event1.io { proxy / https://staging-pages.event1.io {
transparent transparent
} }
gzip gzip
...@@ -9,11 +9,12 @@ ...@@ -9,11 +9,12 @@
} }
*.convention.page { *.convention.page {
proxy / https://stagings-pages.event1.io { proxy / https://staging-pages.event1.io {
transparent transparent
} }
gzip gzip
tls certs@event1.io { # tls certs@event1.io {
wildcard # wildcard
} # dns cloudflare
# }
} }
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment