Skip to content

v2.79.7 - Domain SSL Setup & Services Restart Scripts

Choose a tag to compare

@fotsakir fotsakir released this 21 Jan 10:45
· 41 commits to main since this release

What's New

Added

  • Domain & SSL Setup Script (setup_domain.sh) - Configure domains with Let's Encrypt SSL

    • Interactive menu and CLI mode
    • Admin Panel and Web Apps domain configuration
    • Let's Encrypt certificate management (get, renew, auto-renew)
    • Password protection for Web Apps (external IPs only, localhost/LAN bypass)
    • Both IP and domain access work simultaneously
    • Automatic backup before changes
    • Revert to self-signed certificates option
  • Services Restart Script (restart_codehero_services.sh) - Manage all CodeHero services

    • Restart/stop/start all services with one command
    • Status overview of mysql, php-fpm, nginx, codehero-web, codehero-daemon

Usage

# Domain SSL setup (interactive)
sudo ./scripts/setup_domain.sh

# Domain SSL setup (CLI)
sudo ./scripts/setup_domain.sh --admin --domain example.com
sudo ./scripts/setup_domain.sh --webapps --domain example.com --password

# Restart all services
sudo ./scripts/restart_codehero_services.sh

# Check services status
sudo ./scripts/restart_codehero_services.sh --status

Upgrade

cd /root
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.79.7.zip
unzip codehero-2.79.7.zip
cd codehero
sudo ./upgrade.sh