diff --git a/traefik/traefik-conf.yaml b/traefik/traefik-conf.yaml new file mode 100644 index 0000000..76c9e34 --- /dev/null +++ b/traefik/traefik-conf.yaml @@ -0,0 +1,62 @@ +# Global configuration +global: + checkNewVersion: false + sendAnonymousUsage: false + +# Entrypoints configuration +entryPoints: + web: + address: :80 + http: + redirections: + entryPoint: + to: websecure + scheme: https + permanent: true + + websecure: + address: :443 + asDefault: true + http: + tls: true +# certresolver: tlsResolver + +# Certificate Resolvers configuration +#certificatesResolvers: +# tlsResolver: +# acme: +# email: proxy@example.com +# storage: /etc/traefik/certs/acme.json +# tlsChallenge: true + +# Traefik logs configuration +log: + level: DEBUG +# filePath: os.Stdout +# format: common + +# Access logs configuration +accessLog: +# filePath: os.Stdout + format: genericCLF + +# API and dashboard configuration +api: + insecure: false + dashboard: true + +# Ping configuration +#ping: +# entrypoint: traefik + +# Backend configuration +providers: + docker: +# endpoint: unix:///var/run/docker.sock +# defaultRule: Host(`{{ normalize .Name }}.docker.localhost`) + exposedByDefault: false + network: proxy + + file: + directory: /etc/traefik/config + watch: true \ No newline at end of file