카테고리 없음

[AWS] EC2 도메인 없이 https 접속하기

BE_개발자 2024. 7. 22. 14:45
728x90
반응형

1. caddy 홈페이지 접속

https://caddyserver.com/

 

Caddy - The Ultimate Server with Automatic HTTPS

Caddy is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go

caddyserver.com

 

DOC에서 Install 목록 클

 

Debian, Ubuntu, Raspbian

sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
sudo apt update
sudo apt install caddy

위의 코드를 터미널에 복사

 

설치가 완료되고 내 80번 포트에 접속하면 아래와 같이 caddy 홈페이지가 뜬다!

 

728x90
반응형