Enhance Traefik configuration for www.kolaytercih.com
All checks were successful
Deploy / deploy (push) Successful in 7m18s

Added a new router and middleware for handling www to apex domain redirection, ensuring that Let's Encrypt certificates are obtained for both domains. Updated the docker-compose.yml file to include necessary rules and middleware for proper redirection and TLS handling.

Also, updated the CEO agent description to remove redundant details and clarified the QA engineer's responsibilities regarding testing critical flows and error reporting. Adjusted the CTO agent's section for consistency in expert guidance and clarified the designer's tools to include 'Skill' for better design resource management.
This commit is contained in:
bilalgursen
2026-09-21 20:37:12 +03:00
parent d85094f4f9
commit 0ab4dbe88c
29 changed files with 4536 additions and 29 deletions

View File

@@ -23,6 +23,16 @@ services:
- traefik.http.routers.kolaytercih.entrypoints=websecure
- traefik.http.routers.kolaytercih.tls.certresolver=letsencrypt
- traefik.http.services.kolaytercih.loadbalancer.server.port=3000
# www → apex kalıcı yönlendirme. Ayrı router olduğu için Let's Encrypt
# sertifikası www adı için de alınır; bunun için www'nin DNS kaydı bu
# etiketler deploy edilmeden ÖNCE var olmalı. ($$: compose'ta $ kaçışı.)
- traefik.http.routers.kolaytercih-www.rule=Host(`www.kolaytercih.com`)
- traefik.http.routers.kolaytercih-www.entrypoints=websecure
- traefik.http.routers.kolaytercih-www.tls.certresolver=letsencrypt
- traefik.http.routers.kolaytercih-www.middlewares=kolaytercih-www-yonlendir
- traefik.http.middlewares.kolaytercih-www-yonlendir.redirectregex.regex=^https?://www\.kolaytercih\.com/(.*)
- traefik.http.middlewares.kolaytercih-www-yonlendir.redirectregex.replacement=https://kolaytercih.com/$${1}
- traefik.http.middlewares.kolaytercih-www-yonlendir.redirectregex.permanent=true
networks:
traefik: