访问您的 Activepieces 实例
- HTTPS(推荐):
https://<Server_IP> - 直接内部端口(绕过Nginx):
http://<Server_IP>:8080 - 如果出现自签名证书警告,只需接受它即可继续。
首次登录和管理创建
- 访问
https://IP. - 单击创建帐户。
- 自动创建的第一个用户将成为管理员。
重要文件和目录
- 安装目录:
/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
升级活动件
由于 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.安装Certbot:
apt install -y certbot python3-certbot-nginx
4. 运行以下命令生成有效的 Lets 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