i've been using docker labels so far with great success, but i have hit a hornest nest of a container that wants to be a special butterfly, i cannot use labels for it,
so i have to use dynamic configuration, and i don't want to move everything over.
so far im getting that error, im guessing the dynamic config is loading before authelia is discovered? how do i fix this issue.
if you could include a small example that would be great.
dynamic config.
http:
routers:
nextcloud:
rule: "Host(`nextcloud.mydomain.something`)"
entrypoints:
- "websecure"
service: nextcloud
middlewares:
- nextcloud-chain
tls:
certresolver: "production"
services:
nextcloud:
loadBalancer:
servers:
- url: "http://localhost:11000" # Adjust to match APACHE_PORT and APACHE_IP_BINDING. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md#adapting-the-sample-web-server-configurations-below
middlewares:
nextcloud-secure-headers:
headers:
hostsProxyHeaders:
- "X-Forwarded-Host"
referrerPolicy: "same-origin"
nextcloud-chain:
chain:
middlewares:
# - ... (e.g. rate limiting middleware)
- nextcloud-secure-headers
traefik config.
global:
checkNewVersion: false
sendAnonymousUsage: false
# -- (Optional) Enable API and Dashboard here, don't do in production
api:
dashboard: true
insecure: true
# -- Change EntryPoints here...
entryPoints:
web:
address: :81
# -- (Optional) Redirect all HTTP to HTTPS
http:
redirections:
entryPoint:
to: websecure
scheme: https
websecure:
address: :444
http:
middlewares:
- authelia@docker
# -- Configure your CertificateResolver here...
certificatesResolvers:
staging:
acme:
email: my email
storage: /etc/traefik/certs/acme.json
caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
# -- (Optional) Remove this section, when using DNS Challenge
httpChallenge:
entryPoint: web
production:
acme:
email: my email
storage: /etc/traefik/certs/acme.json
caServer: "https://acme-v02.api.letsencrypt.org/directory"
# -- (Optional) Remove this section, when using DNS Challenge
httpChallenge:
entryPoint: web
providers:
docker:
exposedByDefault: false
file:
directory: /etc/traefik/conf/
watch: true
serversTransport:
insecureSkipVerify: true
accessLog: {}
log:
level: ERROR
NOTE: ONLY this one route is not working, my many label routes works fine.