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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user