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. 유효한 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