Project-Image-Uploader/docker
matthias.lotz 712b8477b9 feat: Implement public/internal host separation
Backend:
- Add hostGate middleware for host-based API protection
- Extend rate limiter with publicUploadLimiter (20/hour)
- Add source_host and source_type to audit logs
- Database migration for audit log source tracking
- Unit tests for hostGate middleware (10/20 passing)

Frontend:
- Add hostDetection utility for runtime host detection
- Implement React code splitting with lazy loading
- Update App.js with ProtectedRoute component
- Customize 404 page for public vs internal hosts
- Update env-config.js for host configuration

Docker:
- Add environment variables to prod/dev docker-compose
- Configure ENABLE_HOST_RESTRICTION flags
- Set PUBLIC_HOST and INTERNAL_HOST variables

Infrastructure:
- Prepared for nginx-proxy-manager setup
- Trust proxy configuration (TRUST_PROXY_HOPS=1)

Note: Some unit tests still need adjustment for ENV handling
2025-11-25 20:26:59 +01:00
..
dev feat: Implement public/internal host separation 2025-11-25 20:26:59 +01:00
prod feat: Implement public/internal host separation 2025-11-25 20:26:59 +01:00
.env.backend.example 🚀 Refactor: Saubere Docker-Struktur mit getrennten dev/prod Umgebungen 2025-11-05 23:00:25 +01:00
.env.frontend.example 🚀 Refactor: Saubere Docker-Struktur mit getrennten dev/prod Umgebungen 2025-11-05 23:00:25 +01:00