Commit graph

3 commits

Author SHA1 Message Date
DJP
2473c22318 Fix Apache config: remove ProxyTimeout from Location block
ProxyTimeout is not allowed in <Location> context. Moved to server-level
ProxyTimeout directive already set above.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 12:18:02 -04:00
DJP
ce916cd658 Fix broken Unicode in Claude API calls + stabilize SSE proxy
- Sanitize unpaired surrogates from scraped text before JSON.stringify
  (Instagram captions often contain broken emoji causing JSON parse errors)
- Update Apache SSE proxy config: longer timeout, disable output filter
  buffering to prevent connection drops and repeated reconnects

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 12:15:07 -04:00
DJP
c5c40aa4e5 Add server deployment: Apache proxy, static frontend, deploy script
- Static frontend (index.html, login.html, config.js) for Apache serving
- JSON-based auth API endpoints (/api/login, /api/auth, /api/logout)
- Apache config with ProxyPass for /social-reports path
- deploy/setup.sh for Ubuntu + Apache + Docker deployment
- docker-compose.prod.yml binds ports to 127.0.0.1 only
- Configurable API base URL via frontend/config.js

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 11:23:47 -04:00