본문 바로가기
개발/ubuntu

[ubuntu] SSL 갱신

by 적아38 2021. 8. 13.
728x90

※ SSL 갱신
1. 파일 업로드 
   /var/www/html/assets/upload/****_co_kr.crt
   /var/www/html/assets/upload/****_co_kr.key
2. 파일 이동
   mv /var/www/html/assets/upload/****_co_kr.crt /etc/nginx/ssl2021/****_co_kr.crt
   mv /var/www/html/assets/upload/****_co_kr.key /etc/nginx/ssl2021/****_co_kr.key
3. default ssl 경로 수정
   cd /etc/nginx/sites-available
   vi default
4. nginx, php7.2-fpm 재시작
   service nginx restart
   service php7.2-fpm restart

728x90

'개발 > ubuntu' 카테고리의 다른 글

[ubuntu] composer 설치  (0) 2021.11.05
[Nginx] Nginx 리다이렉션  (0) 2021.10.28
[ubuntu] nginx 경로  (0) 2021.07.01
[ubuntu] Nginx + Socket.io 설정  (0) 2021.07.01
[ubuntu] Argument list too long  (0) 2021.06.23

댓글