26 lines
541 B
Plaintext
26 lines
541 B
Plaintext
http:
|
|
routers:
|
|
kopia:
|
|
rule: Host(`kopia.example.com`)
|
|
entryPoints:
|
|
- websecure
|
|
tls:
|
|
certResolver: letsencrypt
|
|
middlewares:
|
|
- crowdsec-bouncer@file
|
|
- ths-authentik@docker
|
|
- kopia-inject-auth
|
|
service: kopia
|
|
|
|
middlewares:
|
|
kopia-inject-auth:
|
|
headers:
|
|
customRequestHeaders:
|
|
Authorization: "Basic <base64-user-colon-password>"
|
|
|
|
services:
|
|
kopia:
|
|
loadBalancer:
|
|
servers:
|
|
- url: "http://host.docker.internal:51515"
|