Access Huginn
Open your browser and go to: https://<SERVER_IP>
Accept the self-signed SSL certificate warning.
Default admin credentials:
- Username:
admin - Password:
password(change immediately)
Important Files & Locations
- Huginn install:
/root/huginn - Docker Compose:
/root/huginn/docker-compose.yml - Env variables:
/root/huginn/.env - SSL certificates:
/etc/nginx/ssl - Nginx config:
/etc/nginx/sites-available/huginn
Common Commands
Check logs:
docker logs huginn -f
docker logs huginn_mysql -f
Restart containers:
cd /root/huginn
docker compose restart huginn
docker compose restart huginn_mysql
docker compose restart # restart all
View running containers:
docker ps
Nginx management:
systemctl restart nginx
systemctl status nginx
Enabling SSL with a Domain
1. Point your domain to the server IP.
2. Edit Nginx config and replace both server_name <IP>; with your domain (<your-domain>) for both HTTP (port 80) and HTTPS (port 443) blocks:
vim /etc/nginx/sites-available/huginn
3. Install Certbot:
apt install -y certbot python3-certbot-nginx
4. Run the following command to generate a valid Let’s Encrypt certificate:
certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
5. Replace SSL paths in Nginx config:
vim /etc/nginx/sites-available/huginn
# Before:
# ssl_certificate /etc/nginx/ssl/fullchain.pem;
# ssl_certificate_key /etc/nginx/ssl/privkey.pem;
# After:
# ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;
6. Restart Nginx to apply the changes:
systemctl restart nginx
7. Open your browser and visit: https://yourdomain.com