Update nginx config and add Caddy2 support

- Fixed nginx.conf to proxy all API routes (/patches, /generate, /health, /docs)
- Changed frontend port to 3080 in docker-compose.yml
- Added Caddyfile for Caddy2 reverse proxy configuration
- Supports both FQDN and IP:port configurations
This commit is contained in:
Claude
2026-01-24 14:20:41 +00:00
parent 61af857800
commit 122b4ce326
3 changed files with 86 additions and 2 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ services:
dockerfile: Dockerfile
container_name: ai-photo-edit-frontend
ports:
- "80:80"
- "3080:80" # Frontend on port 3080
depends_on:
- backend
restart: unless-stopped