TraefikIntegration #5
@ -30,13 +30,9 @@ services:
|
||||
labels:
|
||||
## Expose Gitea Through Trefik ##
|
||||
- "traefik.enable=true" # <== Enable traefik to proxy this container
|
||||
- "traefik.http.routers.gitea.rule=Host(`git.luke-else.co.uk`) || Host(`www.git.luke-else.co.uk`)"
|
||||
- "traefik.http.routers.gitea.entrypoints=http"
|
||||
- "traefik.http.routers.gitea.middlewares=redirect@file"
|
||||
|
||||
- "traefik.http.routers.gitea-secured.rule=Host(`git.luke-else.co.uk`) || Host(`www.git.luke-else.co.uk`)"
|
||||
- "traefik.http.routers.gitea-secured.entrypoints=https"
|
||||
- "traefik.http.routers.gitea-secured.tls.certresolver=mytlschallenge"
|
||||
- "traefik.http.routers.gitea.rule=Host(`test.luke-else.co.uk`)"
|
||||
- "traefik.http.routers.gitea.entrypoints=websecure"
|
||||
- "traefik.http.routers.gitea.tls.certresolver=myresolver"
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
|
Loading…
Reference in New Issue
Block a user