6. creww 데비안 리눅스로 배포한 사이트에 HTTPS 적용
웹 서버에 HTTPS를 적용하는 작업을 했다.
먼저 apt 패키지 관리자를 업데이트하고, certbot과 certbot-nginx 패키지를 설치한다.
Copy codesudo apt update
sudo apt install certbot
sudo apt install python3-certbot-nginx
그리고 certbot 유틸리티를 실행해서 Nginx 설정을 자동으로 수정하게 했다.
Copy codesudo certbot --ngin...
thunderbyte.hashnode.dev1 min read