troubleshooting:caddy_deploy_proxy_coolify_directly
Differences
This shows you the differences between two versions of the page.
| troubleshooting:caddy_deploy_proxy_coolify_directly [2026/09/23 14:52] – created - external edit 127.0.0.1 | troubleshooting:caddy_deploy_proxy_coolify_directly [2026/10/23 15:46] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| **Status:** Resolved\ | **Status:** Resolved\ | ||
| **Date:** 2026-05-27\ | **Date:** 2026-05-27\ | ||
| - | **Affected service:** [[folkzone: | + | **Affected service:** [[folkzone: |
| ===== Symptom ===== | ===== Symptom ===== | ||
| Line 11: | Line 11: | ||
| ===== Misdiagnosis ===== | ===== Misdiagnosis ===== | ||
| - | The [[folkzone:troubleshooting: | + | The [[troubleshooting: |
| - | - Routed '' | + | - Routed '' |
| - | - Removed '' | + | - Removed '' |
| - | - Put it back as '' | + | - Put it back as '' |
| ===== Root Cause ===== | ===== Root Cause ===== | ||
| - | The Caddyfile '' | + | The Caddyfile '' |
| < | < | ||
| - | # Inside cafe-caddy-1 container | + | # Inside cafe-caddy-1 container: confirmed Traefik returns 404 |
| wget -qO- --header 'Host: deploy.folk.zone' | wget -qO- --header 'Host: deploy.folk.zone' | ||
| # → HTTP/1.1 404 Not Found | # → HTTP/1.1 404 Not Found | ||
| Line 32: | Line 32: | ||
| < | < | ||
| - | # Confirmed | + | # Confirmed: Coolify responds directly on cafe_cafe_net |
| docker inspect coolify --format ' | docker inspect coolify --format ' | ||
| # cafe_cafe_net: | # cafe_cafe_net: | ||
| Line 43: | Line 43: | ||
| <code caddy> | <code caddy> | ||
| - | # Before (broken | + | # Before (broken: Traefik has no route for deploy.folk.zone) |
| @deploy host deploy.folk.zone | @deploy host deploy.folk.zone | ||
| handle @deploy { | handle @deploy { | ||
| Line 49: | Line 49: | ||
| } | } | ||
| - | # After (working | + | # After (working: proxy directly to Coolify container) |
| @deploy host deploy.folk.zone | @deploy host deploy.folk.zone | ||
| handle @deploy { | handle @deploy { | ||
| Line 71: | Line 71: | ||
| # From the host | # From the host | ||
| curl -s -o /dev/null -w ' | curl -s -o /dev/null -w ' | ||
| - | # → 302 (Coolify login redirect | + | # → 302 (Coolify login redirect: correct) |
| </ | </ | ||
| ===== See Also ===== | ===== See Also ===== | ||
| - | * [[folkzone:troubleshooting: | + | * [[troubleshooting: |
| - | * [[folkzone:troubleshooting: | + | * [[troubleshooting: |
| - | * [[folkzone:troubleshooting: | + | * [[troubleshooting: |
| * [[folkzone: | * [[folkzone: | ||
| - | * [[folkzone: | + | * Coolify |
| * [[start|Return to wiki home]] | * [[start|Return to wiki home]] | ||
troubleshooting/caddy_deploy_proxy_coolify_directly.1790196766.txt.gz · Last modified: by 127.0.0.1
