cc-dashboard/apache.conf
Vadym Samoilenko e401f9a60b feat(planka): add Planka kanban to docker-compose + wire UI
- docker-compose: add planka + planka-db services (port 1337, isolated volume)
- apache.conf: add ProxyPass /board/ → localhost:1337
- .env.example: add PLANKA_SECRET_KEY + PLANKA_BASE_URL
- Sidebar: rename Planner → Tasks, open /board in new tab via <a>
- Router: remove /planner route
- Delete PlannerView.vue, TaskList.vue, TaskCard.vue (Calendar keeps TaskForm)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 12:15:25 +01:00

33 lines
1.1 KiB
ApacheConf

# CC Dashboard — Apache reverse proxy config
# Include this in your VirtualHost for optical-dev.oliver.solutions
# Requires: mod_proxy mod_proxy_http mod_headers
# Enable required modules if not already:
# a2enmod proxy proxy_http headers
<Location /cc-dashboard/>
ProxyPreserveHost On
ProxyPass http://127.0.0.1:8800/cc-dashboard/
ProxyPassReverse http://127.0.0.1:8800/cc-dashboard/
# Disable response buffering — critical for SSE
Header set X-Accel-Buffering "no"
SetEnv proxy-nokeepalive 1
SetEnv proxy-sendchunked 1
# Allow enough time for SSE connections (heartbeat every 25s, so 60s is fine)
ProxyTimeout 60
# Forward real IP
RequestHeader set X-Forwarded-For "%{REMOTE_ADDR}s"
RequestHeader set X-Forwarded-Proto "https"
</Location>
# Planka kanban board
<Location /board/>
ProxyPreserveHost On
ProxyPass http://127.0.0.1:1337/
ProxyPassReverse http://127.0.0.1:1337/
RequestHeader set X-Forwarded-For "%{REMOTE_ADDR}s"
RequestHeader set X-Forwarded-Proto "https"
</Location>