- Add HTTPSConfig model for managing HTTPS settings - Add admin routes for HTTPS configuration management - Add beautiful admin template for HTTPS configuration - Add database migration for https_config table - Add CLI utility for HTTPS management - Add setup script for automated configuration - Add Caddy configuration generator and manager - Add comprehensive documentation (3 guides) - Add HTTPS Configuration card to admin dashboard - Implement input validation and security features - Add admin-only access control with audit trail - Add real-time configuration preview - Integrate with existing Caddy reverse proxy Features: - Enable/disable HTTPS from web interface - Configure domain, hostname, IP address, port - Automatic SSL certificate management via Let's Encrypt - Real-time Caddyfile generation and reload - Full audit trail with admin username and timestamps - Support for HTTPS and HTTP fallback access points - Beautiful, mobile-responsive UI Modified files: - app/models/__init__.py (added HTTPSConfig import) - app/blueprints/admin.py (added HTTPS routes) - app/templates/admin/admin.html (added HTTPS card) - docker-compose.yml (added Caddyfile mount and admin port) New files: - app/models/https_config.py - app/blueprints/https_config.html - app/utils/caddy_manager.py - https_manager.py - setup_https.sh - migrations/add_https_config_table.py - migrations/add_email_to_https_config.py - HTTPS_STATUS.txt - Documentation files (3 markdown guides)
52 lines
1010 B
INI
Executable File
52 lines
1010 B
INI
Executable File
# Player Configuration File
|
|
# This file is automatically generated and updated by the signage player
|
|
# DO NOT EDIT MANUALLY unless you know what you're doing
|
|
|
|
[server]
|
|
# DigiServer URL (without trailing slash)
|
|
server_url = http://localhost:5000
|
|
|
|
[player]
|
|
# Player hostname/identifier (must be unique)
|
|
hostname =
|
|
|
|
# Player authentication code (obtained after first authentication)
|
|
auth_code =
|
|
|
|
# Player ID (assigned by server)
|
|
player_id =
|
|
|
|
# Group ID (assigned by server)
|
|
group_id =
|
|
|
|
[display]
|
|
# Display orientation: Landscape or Portrait
|
|
orientation = Landscape
|
|
|
|
# Screen resolution (width x height)
|
|
resolution = 1920x1080
|
|
|
|
[security]
|
|
# Enable SSL certificate verification
|
|
verify_ssl = true
|
|
|
|
# Connection timeout in seconds
|
|
timeout = 30
|
|
|
|
[cache]
|
|
# Local cache directory for downloaded content
|
|
cache_dir = ./cache
|
|
|
|
# Maximum cache size in MB
|
|
max_cache_size = 1024
|
|
|
|
[logging]
|
|
# Enable logging
|
|
enabled = true
|
|
|
|
# Log level: DEBUG, INFO, WARNING, ERROR
|
|
log_level = INFO
|
|
|
|
# Log file path
|
|
log_file = ./player.log
|