서버에 nginx 설치
dnf install nginx
certbot, nginx 플러그인 설치
dnf install certbot python3-certbot-nginx
도메인 인증서 발급
certbot certonly --nginx -d 발급한 도메인
인증서 발급 확인
cd /etc/letsencrypt/live/
nginx.conf 수정
vi nginx.conf
nginx.conf 문법 확인
nginx -t
nginx 에러 로그 확인
systemctl status nginx.service
nginx 시작 및 상태 확인
systemctl start nginx
systemctl status nginx
success로 뜨면 성공한거임
'OS > Linux' 카테고리의 다른 글
[AWS] winSCP root 권한 셋팅하기 (0) | 2024.09.30 |
---|---|
[Linux] 폴더 내에 있는 파일 조건 지정하여 출력하기 (0) | 2023.07.27 |
[Linux] tail 명령어 (0) | 2023.07.23 |