SSL인증서로 NGINX에서 HTTPS 설정하기
환경 Ubuntu 16.04 (LTS) 이상의 환경에서 구성함 도메인 test.com 이 있다고 가정 1. 저장소 설정과 업데이트를 진행 $ sudo apt-get update $ sudo apt-get install software-properties-common $ sudo add-apt-repository universe $ sudo add-apt-repository ppa:certbot/certbot $ sudo apt-get update 2. Certbot설치 $ sudo apt-get install certbot python3-certbot-nginx 3. nginx 세팅 Certbot이 알아서 SSL를 세팅해주기 때문에 vi /etc/nginx/sites-available/ (사용 할 ser..
2020.10.22