DevOps & Infra/Nginx
[Nginx] Ubuntu 서버에 Nginx 설치하기
나른한댕댕이🐶
2022. 1. 17. 23:27
728x90
반응형
# 배경
- AWS ElasticBeanstalk으로 배포하고 있는 Service(Backend) 프로젝트를 도커 컨테이너로 배포하여 사용하기 위해서 도커 컨테이너가 올라가는 서버에 Nginx를 설치하고 도메인과 연결할 수 있도록 한다.
# Nginx란?
- 웹 서버 소프트웨어이다
- 웹 서버, 리버스 프록시 및 메일 프록시 기능을 가진다.
## Nginx 설치하기
https://ubuntu.com/tutorials/install-and-configure-nginx#2-installing-nginx
Install and configure Nginx | Ubuntu
Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things.
ubuntu.com
- 위의 우분투 공식 문서를 참조하여 다음과 같이 진행하였다.
Nginx 설치 명령어
$ sudo apt update
$ sudo apt install nginx
- /etc/nginx 루트를 통해서 설치가 되었음을 확인
728x90
반응형