Synapse: Configure Traefik
This commit is contained in:
parent
3b675768a9
commit
2b8f7dd720
1 changed files with 9 additions and 0 deletions
|
@ -14,6 +14,15 @@ in
|
|||
"/etc/container-matrix/synapse:/data"
|
||||
];
|
||||
labels = {
|
||||
"traefik.enable" = "true";
|
||||
"traefik.http.routers.matrix.rule" = "Host(`matrix.kempkens.io`)";
|
||||
"traefik.http.routers.matrix.entrypoints" = "websecure";
|
||||
"traefik.http.routers.matrix.service" = "matrix-web";
|
||||
"traefik.http.routers.matrix.tls.certresolver" = "cfresolver";
|
||||
"traefik.http.routers.matrix.tls.domains[0].main" = "kempkens.io";
|
||||
"traefik.http.routers.matrix.tls.domains[0].sans" = "*.kempkens.io";
|
||||
"traefik.http.routers.matrix.middlewares" = "content-compression@file";
|
||||
"traefik.http.services.matrix-web.loadbalancer.server.port" = "8008";
|
||||
"com.centurylinklabs.watchtower.enable" = "true";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue