Configure HTTPS for bi.brachnha.com

- Set correct domain in Traefik labels
- Configure HTTP to HTTPS redirect
- Enable Let's Encrypt SSL certificate
- Add secure entrypoint configuration

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Max
2026-01-26 13:18:46 +07:00
parent 90f807b31d
commit d115cb94f0

View File

@@ -14,9 +14,15 @@ services:
- dokploy-network
labels:
- "traefik.enable=true"
- "traefik.http.routers.brachnha-insights.rule=Host(`your-domain.com`)"
- "traefik.http.routers.brachnha-insights.rule=Host(`bi.brachnha.com`)"
- "traefik.http.routers.brachnha-insights.entrypoints=websecure"
- "traefik.http.routers.brachnha-insights.tls=true"
- "traefik.http.routers.brachnha-insights.tls.certresolver=letsencrypt"
- "traefik.http.routers.brachnha-insights-http.rule=Host(`bi.brachnha.com`)"
- "traefik.http.routers.brachnha-insights-http.entrypoints=web"
- "traefik.http.routers.brachnha-insights-http.middlewares=redirect-to-https"
- "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
- "traefik.http.middlewares.redirect-to-https.redirectscheme.permanent=true"
- "traefik.http.services.brachnha-insights.loadbalancer.server.port=3000"
networks: