访问您的 Activepieces 实例
- HTTPS (recommended):
https://<Server_IP> - 直接访问内部端口(绕过 Nginx):
http://<Server_IP>:8080 - 如果出现自签名证书警告,直接接受即可继续。
首次登录与管理员账户创建
- Visit
https://IP. - 点击「创建账户」。
- 第一个注册的用户将自动成为管理员。
重要文件与目录
- Installation directory:
/root/activepieces - 安装程序生成的环境变量:
/root/activepieces/.env - Docker Compose 配置:
/root/activepieces/docker-compose.yml - 本地 SSL 证书与私钥:
/etc/nginx/ssl/fullchain.crt&/etc/nginx/ssl/privkey.key - Nginx 反向代理配置:
/etc/nginx/sites-available/activepieces.conf - Nginx 激活符号链接:
/etc/nginx/sites-enabled/activepieces.conf
Upgrading Activepieces
由于 Activepieces 通过 Docker Compose 运行,升级非常简单。
导航到安装目录:
cd /root/activepieces
运行官方更新程序:
sh tools/update.sh
通过域名启用 SSL
1. 将你的域名指向服务器 IP。
2. 编辑 Nginx 配置,替换以下两处 server_name <IP>; 使用您的域名(<your-domain>) 适用于 HTTP(端口 80)和 HTTPS(端口 443)的规则块:
vim /etc/nginx/sites-available/activepieces.conf
3. Install Certbot:
apt install -y certbot python3-certbot-nginx
4. 运行以下命令,生成有效的 Let's Encrypt 证书:
certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
5. 在 Nginx 配置中替换 SSL 路径:
vim /etc/apache2/sites-available/activepieces.conf
# Before:
# ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;
# After:
# ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;
6. 重启 Nginx 以应用更改:
systemctl restart nginx
7. 打开浏览器,访问: https://yourdomain.com