Commit Graph

3 Commits

Author SHA1 Message Date
thecyberlearn
a08cc04250 🔒 Fix HTTPS configuration for Dokploy deployment
HTTPS FIXES:
- Added TLS/SSL configuration to dokploy.json with Let's Encrypt
- Created production_https_settings.py with proper HTTPS Django settings
- Added SSL redirect, HSTS headers, and secure cookie settings
- Updated Dockerfile and startup script to use HTTPS settings
- Added CSRF trusted origins for both HTTP and HTTPS
- Configured Traefik proxy header handling

SECURITY IMPROVEMENTS:
- Force HTTPS redirect for production
- HTTP Strict Transport Security (HSTS) enabled
- Secure cookies (SESSION_COOKIE_SECURE, CSRF_COOKIE_SECURE)
- XSS protection and content type sniffing prevention
- Proper X-Forwarded-Proto header handling for Dokploy/Traefik

This should resolve HTTPS certificate and redirect issues in Dokploy.
2025-09-05 09:44:21 +05:30
thecyberlearn
98cc088518 Fix Dokploy deployment 404 errors
- Updated Dockerfile.dokploy with proper startup script
- Added start-dokploy.sh for database migrations and health checks
- Enhanced dokploy.json with required environment variables
- Added debug Dockerfile for troubleshooting (Dockerfile.dokploy.debug)
- Added debug config (dokploy.debug.json) for testing
- Fixed static file collection and gunicorn configuration
- Improved error handling and logging for deployment issues
2025-09-05 09:22:06 +05:30
thecyberlearn
ce841c7ec1 Add Dokploy deployment configuration
- Add dokploy.json configuration file
- Create Dockerfile.dokploy optimized for port 3000
- Add environment variables template for Dokploy
- Update Django settings for Dokploy auto-detection

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-05 02:40:02 +05:30