feat: Add complete Docker deployment with web-based setup wizard
Major additions: - Web-based setup wizard (setup.php, setup_wizard.php, setup-wizard.js) - Production Docker configuration (docker-compose.prod.yml, .env.production) - Database initialization SQL files (deploy/init_settings.sql) - Template builder system with drag-and-drop UI - Advanced features (OAuth, CDN, enhanced analytics, monetization) - Comprehensive documentation (deployment guides, quick start, feature docs) - Design system with accessibility and responsive layout - Deployment automation scripts (deploy.ps1, generate-secrets.ps1) Setup wizard allows customization of: - Platform name and branding - Domain configuration - Membership tiers and pricing - Admin credentials - Feature toggles Database includes 270+ tables for complete video streaming platform with advanced features for analytics, moderation, template building, and monetization. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
14
Caddyfile
14
Caddyfile
@@ -7,6 +7,14 @@
|
||||
|
||||
root * /srv/easystream
|
||||
encode zstd gzip
|
||||
|
||||
# PHP files go directly to PHP handler
|
||||
@php_files path *.php
|
||||
handle @php_files {
|
||||
php_fastcgi php:9000 {
|
||||
try_files {path} /parser.php?{query}
|
||||
}
|
||||
}
|
||||
file_server
|
||||
|
||||
# Token System Routes (Direct handling)
|
||||
@@ -51,10 +59,6 @@
|
||||
file_server
|
||||
}
|
||||
|
||||
# PHP with fallback to index.php for non-existent paths
|
||||
php_fastcgi php:9000 {
|
||||
try_files {path} {path}/ /index.php?{query}
|
||||
}
|
||||
|
||||
# Preflight at a friendly path
|
||||
@preflight path /preflight
|
||||
@@ -96,4 +100,4 @@
|
||||
X-Content-Type-Options "nosniff"
|
||||
Referrer-Policy "strict-origin-when-cross-origin"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user