EC21 [Nginx] Nginx 실행하기 ※ EC2 IP(본인 아이피 대체가능)와 Ubuntu를 사용합니다Nginx 설치 # Ubuntu 기준sudo apt updatesudo apt install nginx -y 실행 / 상태 확인sudo systemctl start nginx # Nginx 시작sudo systemctl status nginx # 상태 확인sudo systemctl stop nginx # 중지sudo systemctl restart nginx # 재시작접속 후 http://EC2_PUBLIC_IP 로 확인해보면 Nginx 기본 화면이 나옵니다. Nginx 리버스 프록시 기본 설정 구조이제 http://EC2_PUBLIC_IP 으로 접근 시, Spring Boot가 동작하도.. 2025. 4. 19. 이전 1 다음