1. 아이피:8083 으로 접속되지 않음
2. 아이피로 접속 시 바로 관리자로 접속됨
3. 서버에 올라와있는 모든 사이트 접속이 안됨
4. nginx 실행 되면, hestia가 안되고,
hestia가 실행되면 nginx가 안되는 문제
5. 포트 문제로 파악되나 원인은 미상.
6. 1차적으로는 server.domain.com 으로 시작되는 서브도메인을 해당 서버에 지정하지 않은 문제라고 추측함. (헤스티아 웹패널 자동 업데이트되면서)
7. 헤스티아웹패널 자동 업데이트 끄기.
8. 서버 로그 전체 커서로 공유함.
아무리 헤스티아, 엔진엑스, 아파치, php를 재시작해봐도 문제 해결되지 않음.
9. 현재 사용 중인 포트 체크
# 포트 사용 현황 확인
sudo netstat -tulpn | grep '80\|8083'
> 8083 포트가 사용되지 않는 것을 발견함
10. hesti 주요 nginx conf 파일 체크
sudo find /usr/local/hestia -name "*.conf" | grep nginx
/usr/local/hestia/install/deb/nginx/nginx.conf
/usr/local/hestia/install/deb/nginx/agents.conf
/usr/local/hestia/install/deb/nginx/0rtt-anti-replay.conf
/usr/local/hestia/install/deb/nginx/status.conf
/usr/local/hestia/install/rpm/nginx/nginx.conf
/usr/local/hestia/install/rpm/nginx/0rtt-anti-replay.conf
/usr/local/hestia/install/rpm/nginx/status.conf
/usr/local/hestia/nginx/conf/nginx.conf
/usr/local/hestia/nginx/conf/fastcgi.conf
11. sudo cat /usr/local/hestia/nginx/conf/nginx.conf
> nginx.conf 파일을 보니 Hestia 관리자 패널의 포트 설정이 주석 처리되어 있네요:
12. nginx.conf 파일 편집 - 주석 해제함
sudo nano /usr/local/hestia/nginx/conf/nginx.conf
server { listen 8083 ssl; listen [::]:8083 ssl;
13. 설정 저장 후 재시작
# Hestia 재시작
sudo systemctl restart hestia
# 포트 확인
sudo netstat -tulpn | grep '80\|8083'
14. https://211.237.0.211:8083/login/
정상접속 됨.