Skip to content

Instantly share code, notes, and snippets.

@bolhasec
Created April 18, 2025 14:47
Show Gist options
  • Select an option

  • Save bolhasec/baff697b6df256ee677253e209d70312 to your computer and use it in GitHub Desktop.

Select an option

Save bolhasec/baff697b6df256ee677253e209d70312 to your computer and use it in GitHub Desktop.
Coolify N8N Traefik Config
traefik.enable=true
# --- Middleware Definitions ---
traefik.http.middlewares.gzip.compress=true
traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https
# --- Service Definition ---
traefik.http.services.n8n-svc.loadbalancer.server.port=5678
# --- Routers ---
traefik.http.routers.n8n-http.entryPoints=http
traefik.http.routers.n8n-http.rule=Host(`n8n.seudominio.com`)
traefik.http.routers.n8n-http.middlewares=redirect-to-https
traefik.http.routers.n8n-https.entryPoints=https
traefik.http.routers.n8n-https.rule=Host(`n8n.seudominio.com`)
traefik.http.routers.n8n-https.middlewares=gzip
traefik.http.routers.n8n-https.tls=true
traefik.http.routers.n8n-https.tls.certresolver=letsencrypt
traefik.http.routers.n8n-https.service=n8n-svc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment