Releases
v1.5.1
Ym0T
released this
09 Feb 23:00
π Changelog (Version 1.5.1 β 2025-02-10)
β¨ New Features
π Automatic Log Cleanup Before Cloudflared Startup
Logs are now automatically deleted if they exceed 10MB or are older than 30 days :
/home/container/logs/naccess.log
/home/container/logs/nerror.log
/home/container/logs/error.log
/home/container/logs/php_errors.log
/home/container/logs/php-fpm.log
π Prevents excessive log accumulation and improves disk space management.
π¨ Improved Status Messages & Formatting
Color-coded console output for better readability:
π΅ Blue β Headers & sections
π£ Purple β Cleanup processes
π‘ Yellow β Status messages (e.g., "Waiting for Cloudflared to start...")
π’ Green β Success messages
π΄ Red β Errors or missing files
π’ More structured output with section dividers (ββββββββββββββββββββββββ
).
π Optimized Cloudflared Startup
Cloudflared startup process improved:
Better error handling:
If Cloudflared fails, the error is displayed immediately .
Last 10 log lines are shown for troubleshooting.
Safer PID file storage.
π Bug Fixes & Improvements
β
Improved Error Handling:
Cloudflared token validation: If missing or empty, a clear error is shown.
Log existence checks: No errors if logs donβt exist.
π Code Refactoring:
Better script structure with logical sections.
Standardized use of echo -e
for consistent formatting .
You canβt perform that action at this time.