Files
PaintPlus/Caddyfile
T
Claude cfbb9b691f Change backend port to 8101 and simplify Caddy config
- Changed backend port from 8000 to 8101 (avoiding port conflict)
- Added REPLICATE_API_KEY to docker-compose environment variables
- Simplified Caddyfile - only need to reverse proxy frontend
- Frontend nginx internally handles routing API calls to backend
2026-01-24 15:55:49 +00:00

16 lines
456 B
Caddyfile

# Caddy 2 Configuration for AI Photo Edit
# Simple version - frontend nginx handles API routing internally
# Option 1: With domain name
ai-photo-edit.yourdomain.com {
reverse_proxy localhost:3080
}
# Option 2: IP:Port (comment out option 1 if using this)
# :8080 {
# reverse_proxy localhost:3080
# }
# Note: You don't need to specify /projects, /edits, etc.
# The frontend's nginx is already configured to proxy those to the backend internally.