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 업그레이드 중
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. 다음 명령어를 실행하여 유효한 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