1
0
Fork 0

Fix vaultwarden no https

This commit is contained in:
Florian RICHER 2023-06-09 18:03:50 +02:00
parent 0a00f08427
commit 5c5a204872
2 changed files with 3 additions and 1 deletions

View file

@ -43,7 +43,7 @@ certificatesResolvers:
sslResolver:
acme:
email: {{ acme.email }}
tlschallenge: {}
tlsChallenge: {}
storage: acme.json
keyType: RSA4096
{% if acme.debug %}

View file

@ -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