From 1ff4968013f03ea36b965bdfb846b04a97763a7f Mon Sep 17 00:00:00 2001 From: Cris Mathew Date: Wed, 28 Feb 2024 17:41:35 +0300 Subject: [PATCH] Add traefik/data/traefik.yml --- traefik/data/traefik.yml | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 traefik/data/traefik.yml diff --git a/traefik/data/traefik.yml b/traefik/data/traefik.yml new file mode 100644 index 0000000..992fe96 --- /dev/null +++ b/traefik/data/traefik.yml @@ -0,0 +1,50 @@ +global: + checkNewVersion: true + sendAnonymousUsage: false +api: + dashboard: true + debug: true + +entryPoints: + http: + address: ":80" + http: + redirections: + entryPoint: + to: https + scheme: https + https: + address: ":443" + http: + middlewares: + - cloudflarewarp@file + #- crowdsec-bouncer@file # uncomment this line later after you setup crowdsec and traefik bouncer +serversTransport: + insecureSkipVerify: true +providers: + docker: + endpoint: "unix:///var/run/docker.sock" + exposedByDefault: false + file: + filename: /config.yml +certificatesResolvers: + cloudflare: + acme: + email: email@example.com + storage: acme.json + dnsChallenge: + provider: cloudflare + #disablePropagationCheck: true # uncomment this if you have issues pulling certificates through cloudflare, By setting this flag to true disables the need to wait for the propagation of the TXT record to all authoritative name servers. + resolvers: + - "1.1.1.1:53" + - "1.0.0.1:53" +log: + level: "INFO" + filePath: "/var/log/traefik/traefik.log" +accessLog: + filePath: "/var/log/traefik/access.log" +experimental: + plugins: + cloudflarewarp: + modulename: github.com/BetterCorp/cloudflarewarp + version: v1.3.3