mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-01-16 20:50:33 +00:00
Updated Docker Traefik ModSecurity Setup (markdown)
@@ -56,20 +56,22 @@ services:
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.redirect-https.redirectScheme.scheme=https
|
||||
- traefik.http.middlewares.redirect-https.redirectScheme.permanent=true
|
||||
- traefik.http.routers.vw-ui-https.rule=Host(`sub.domain.tld`)
|
||||
- traefik.http.routers.vw-ui-https.rule=Host(`ui-sub.domain.tld`)
|
||||
- traefik.http.routers.vw-ui-https.entrypoints=websecure
|
||||
- traefik.http.routers.vw-ui-https.tls=true
|
||||
- traefik.http.routers.vw-ui-https.tls.certresolver=myresolver
|
||||
- traefik.http.routers.vw-ui-https.service=vw-ui
|
||||
- traefik.http.routers.vw-ui-http.rule=Host(`sub.domain.tld`)
|
||||
- traefik.http.routers.vw-ui-http.rule=Host(`ui-sub.domain.tld`)
|
||||
- traefik.http.routers.vw-ui-http.entrypoints=web
|
||||
- traefik.http.routers.vw-ui-http.middlewares=redirect-https
|
||||
- traefik.http.routers.vw-ui-http.service=vw-ui
|
||||
- traefik.http.services.vw-ui.loadbalancer.server.port=80
|
||||
- traefik.http.routers.vw-websocket-https.rule=Host(`sub.domain.tld`) && Path(`/notifications/hub`)
|
||||
- traefik.http.routers.vw-websocket-https.rule=Host(`websocket-sub.domain.tld`) && Path(`/notifications/hub`)
|
||||
- traefik.http.routers.vw-websocket-https.entrypoints=websecure
|
||||
- traefik.http.routers.vw-websocket-https.tls=true
|
||||
- traefik.http.routers.vw-websocket-https.tls.certresolver=myresolver
|
||||
- traefik.http.routers.vw-websocket-https.service=vw-websocket
|
||||
- traefik.http.routers.vw-websocket-http.rule=Host(`sub.domain.tld`) && Path(`/notifications/hub`)
|
||||
- traefik.http.routers.vw-websocket-http.rule=Host(`websocket-sub.domain.tld`) && Path(`/notifications/hub`)
|
||||
- traefik.http.routers.vw-websocket-http.entrypoints=web
|
||||
- traefik.http.routers.vw-websocket-http.middlewares=redirect-https
|
||||
- traefik.http.routers.vw-websocket-http.service=vw-websocket
|
||||
|
||||
Reference in New Issue
Block a user