ENTERPRISE: Optimize system reliability and container deployment

Major improvements:
- Fix file manager paste operation timeout issues for small files
- Remove complex copyItem existence checks that caused hangs
- Simplify copy commands for better reliability
- Add comprehensive timeout protection for move operations
- Remove JWT debug logging for production security
- Fix nginx SSL variable syntax errors
- Default to HTTP-only mode to eliminate setup complexity
- Add dynamic SSL configuration switching in containers
- Use environment-appropriate SSL certificate paths
- Implement proper encryption architecture fixes
- Add authentication middleware to all backend services
- Resolve WebSocket timing race conditions

Breaking changes:
- SSL now disabled by default (set ENABLE_SSL=true to enable)
- Nginx configurations dynamically selected based on SSL setting
- Container paths automatically used in production environment

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ZacharyZcR
2025-09-22 22:17:50 +08:00
parent aea00225d2
commit e4317667ac
19 changed files with 645 additions and 185 deletions

2
.env
View File

@@ -5,7 +5,7 @@
DATABASE_KEY=27c23eaeb0152612752072c289a85f48bf8f5ffa9a2086f114794bce6f919bfb
# SSL Configuration (Auto-generated)
ENABLE_SSL=true
ENABLE_SSL=false
SSL_PORT=8443
SSL_CERT_PATH=C:\Users\29037\WebstormProjects\Termix\ssl\termix.crt
SSL_KEY_PATH=C:\Users\29037\WebstormProjects\Termix\ssl\termix.key