[Ubuntu] Let's Encrypt를 통해 HTTPS(SSL) 무료로 구축하기
글 작성자: cjwoov
반응형
Certbot 설치
해당 명령어는 Apache 웹서버를 기준으로 합니다.
sudo apt update
sudo apt install certbot
sudo certbot --apache -d example.com
WordPress 설정 업데이트
1. 워드프레스 대시보드 로그인
2. 설정 -> 일반 -> WordPress Address (URL)'과 'Site Address (URL)'을 https://example.com으로 변경
SSL 강제 설정
/var/www/html/(워드프레스 경로) .htaccess 파일에 다음 코드를 추가
Apache 재시작
sudo systemctl restart apache2
SSL 갱신 자동화
sudo crontab -e
0 0 1 * * /usr/bin/certbot renew --quiet
# 맨 아래 라인에 추가
반응형
'Development > Web' 카테고리의 다른 글
[Ubuntu] Wordpress 플러그인 설치/삭제 시 FTP 정보 입력 창이 나올 때(Connection Information) (2) | 2023.10.17 |
---|---|
[Ubuntu] 워드프레스(Wordpress), LAMP(Linux, Apache, MySQL, PHP) 스택 설치 (0) | 2023.10.16 |
SPA(Single Page Application), MPA(Multi Page Application) (2) | 2022.11.20 |
[React] Create React App 을 이용해서 React 설치 (0) | 2022.11.20 |
1. 나만의 심리테스트/MBTI 테스트 만들기 - 화면 설계 및 시작 페이지 작성 (2) | 2022.04.24 |
댓글
이 글 공유하기
다른 글
-
[Ubuntu] Wordpress 플러그인 설치/삭제 시 FTP 정보 입력 창이 나올 때(Connection Information)
[Ubuntu] Wordpress 플러그인 설치/삭제 시 FTP 정보 입력 창이 나올 때(Connection Information)
2023.10.17 -
[Ubuntu] 워드프레스(Wordpress), LAMP(Linux, Apache, MySQL, PHP) 스택 설치
[Ubuntu] 워드프레스(Wordpress), LAMP(Linux, Apache, MySQL, PHP) 스택 설치
2023.10.16 -
SPA(Single Page Application), MPA(Multi Page Application)
SPA(Single Page Application), MPA(Multi Page Application)
2022.11.20 -
[React] Create React App 을 이용해서 React 설치
[React] Create React App 을 이용해서 React 설치
2022.11.20