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