From 2c80b43e3d0600e5eaf0ca3e345c1ee4609e0e65 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sun, 27 Oct 2024 16:37:53 +0100 Subject: [PATCH] Git: Add git subdomains --- roles/gitea/templates/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/gitea/templates/docker-compose.yml b/roles/gitea/templates/docker-compose.yml index 0a9e33c..6f9172d 100644 --- a/roles/gitea/templates/docker-compose.yml +++ b/roles/gitea/templates/docker-compose.yml @@ -22,7 +22,7 @@ services: - traefik.docker.network=proxy # HTTP Reverse proxy Gitea - traefik.http.routers.gitea-secure.entrypoints=https - - traefik.http.routers.gitea-secure.rule=Host(`gitea.{{ server.domain }}`) + - traefik.http.routers.gitea-secure.rule=Host(`gitea.{{ server.domain }}`) || Host(`git.{{ server.domain }}`) - traefik.http.routers.gitea-secure.tls=true - traefik.http.routers.gitea-secure.tls.certresolver=sslResolver - traefik.http.routers.gitea-secure.service=gitea