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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user