diff --git a/roles/traefik/templates/config/traefik.yml.j2 b/roles/traefik/templates/config/traefik.yml.j2 index ba8e4e3..fadd266 100644 --- a/roles/traefik/templates/config/traefik.yml.j2 +++ b/roles/traefik/templates/config/traefik.yml.j2 @@ -43,7 +43,7 @@ certificatesResolvers: sslResolver: acme: email: {{ acme.email }} - tlschallenge: {} + tlsChallenge: {} storage: acme.json keyType: RSA4096 {% if acme.debug %} diff --git a/roles/vaultwarden/templates/docker-compose.yml.j2 b/roles/vaultwarden/templates/docker-compose.yml.j2 index 563d7de..2639ca1 100644 --- a/roles/vaultwarden/templates/docker-compose.yml.j2 +++ b/roles/vaultwarden/templates/docker-compose.yml.j2 @@ -31,6 +31,7 @@ services: - traefik.http.routers.bitwarden-ui-https.rule=Host(`pwds.{{ server.domain }}`) - traefik.http.routers.bitwarden-ui-https.entrypoints=https - traefik.http.routers.bitwarden-ui-https.tls=true + - traefik.http.routers.bitwarden-ui-https.tls.certresolver=sslResolver - traefik.http.routers.bitwarden-ui-https.service=bitwarden-ui - traefik.http.routers.bitwarden-ui-http.rule=Host(`pwds.{{ server.domain }}`) - traefik.http.routers.bitwarden-ui-http.entrypoints=http @@ -40,6 +41,7 @@ services: - traefik.http.routers.bitwarden-websocket-https.rule=Host(`pwds.{{ server.domain }}`) && Path(`/notifications/hub`) - traefik.http.routers.bitwarden-websocket-https.entrypoints=https - traefik.http.routers.bitwarden-websocket-https.tls=true + - traefik.http.routers.bitwarden-websocket-https.tls.certresolver=sslResolver - traefik.http.routers.bitwarden-websocket-https.service=bitwarden-websocket - traefik.http.routers.bitwarden-websocket-http.rule=Host(`pwds.{{ server.domain }}`) && Path(`/notifications/hub`) - traefik.http.routers.bitwarden-websocket-http.entrypoints=http