Comments (3)
Hello,
There are three different, mutually exclusive (i.e. you can use only one at the same time), ways to define static configuration options in Traefik
https://doc.traefik.io/traefik/getting-started/configuration-overview/#the-static-configuration
So you cannot use a file and env vars simultaneously.
from traefik.
Its much easier without the Bugreport-Form, to tell what the issue is.
The documentation lacks a bit about the Environment Variables either, like how to add multiple dns resolver servers.
But anyway, to my eyes it looks like the environment config gets completely ignored.
TRAEFIK_CERTIFICATESRESOLVERS_default-storage=true
TRAEFIK_CERTIFICATESRESOLVERS_default-storage_ACME_DNSCHALLENGE=true
TRAEFIK_CERTIFICATESRESOLVERS_default-storage_ACME_DNSCHALLENGE_DELAYBEFORECHECK=10
TRAEFIK_CERTIFICATESRESOLVERS_default-storage_ACME_DNSCHALLENGE_PROVIDER=ovh
TRAEFIK_CERTIFICATESRESOLVERS_default-storage_ACME_DNSCHALLENGE_RESOLVERS=ns12.ovh.net
TRAEFIK_CERTIFICATESRESOLVERS_default-storage_ACME_EMAIL="[email protected]"
-->
ERR Router uses a non-existent certificate resolver certificateResolver=default-storage routerName=api@file
So the workaround: simply configure that resolver via toml, but why the document page lists that there are environment variables for that?
Thanks everyone, great work with Traefik :-)
from traefik.
Hello,
There are three different, mutually exclusive (i.e. you can use only one at the same time), ways to define static configuration options in Traefik
https://doc.traefik.io/traefik/getting-started/configuration-overview/#the-static-configuration
So you cannot use a file and env vars simultaneously.
Thank you a lot, sorry for the stupid bugreport!
from traefik.
Related Issues (20)
- Can't upload docker images larger than 2GB via traefik 3.0 proxy HOT 8
- The final response code of my api service when using traefik error middleware is of main service ? - error service ? HOT 1
- provider=swarm - Gateway time-out Error code 504 HOT 1
- Kubernetes Ingress With Wildcard Host Doesn't Cover Hosts With Undescores (_) HOT 1
- Traefik V3 break on TCP Routers filter HOT 1
- Limit connections by a single IP address. HOT 5
- Support loading certificates from Cert-Manager HOT 1
- Post-Quantum Key Exchange support for HTTPS HOT 3
- To support HTTP Basic authentication for docker/swarm provider's endpoint HOT 1
- Basic Auth Automatically encode Base64 - basicauth.users HOT 2
- Body truncation issue in traffic plugin under certain conditions HOT 1
- A Router rule that exactly match all same-name header values. HOT 3
- Extend `headerLabels` Support to All Prometheus Metrics HOT 1
- TCP weighted service not respecting weights HOT 1
- Sectigo Certresolver does not populate cert field in JSON file HOT 1
- Unable to obtain ACME certificate for domains HOT 1
- Order cannot contain more than 100 DNS names
- container image on ghcr HOT 1
- Traefik provides default TLS certificate instead of one from a secret HOT 8
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 traefik.