fix: Use web entrypoint for Traefik (Cloudflare handles SSL)
- Changed from websecure to web entrypoint - Removed obsolete version attribute - Cloudflare tunnel connects to port 80, so no TLS config needed 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
1ec463f193
commit
f1224e8b75
|
|
@ -1,5 +1,3 @@
|
|||
version: "3.8"
|
||||
|
||||
services:
|
||||
rspace:
|
||||
build: .
|
||||
|
|
@ -13,14 +11,12 @@ services:
|
|||
- PORT=3000
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
# Main domain
|
||||
# Main domain (use web entrypoint - Cloudflare handles SSL)
|
||||
- "traefik.http.routers.rspace.rule=Host(`rspace.online`) || Host(`www.rspace.online`)"
|
||||
- "traefik.http.routers.rspace.entrypoints=websecure"
|
||||
- "traefik.http.routers.rspace.tls=true"
|
||||
- "traefik.http.routers.rspace.entrypoints=web"
|
||||
# Wildcard subdomain routing
|
||||
- "traefik.http.routers.rspace-wildcard.rule=HostRegexp(`{subdomain:[a-z0-9-]+}.rspace.online`)"
|
||||
- "traefik.http.routers.rspace-wildcard.entrypoints=websecure"
|
||||
- "traefik.http.routers.rspace-wildcard.tls=true"
|
||||
- "traefik.http.routers.rspace-wildcard.entrypoints=web"
|
||||
# Service configuration
|
||||
- "traefik.http.services.rspace.loadbalancer.server.port=3000"
|
||||
- "traefik.docker.network=traefik-public"
|
||||
|
|
|
|||
Loading…
Reference in New Issue