웹 서버(WS)
주로 클라이언트가 보낸 HTTP 요청을 처리하고, 요청된 웹 페이지나 리소스를 클라이언트에게 전송
클라리언트(Client)
서비스를 이용하기 위해 네트워크를 통해 요청을 보내는 주체를 의미
WAS(Web Application Server)
클라이언트 요청에 대해 동적인 처리 담당하는 영역
웹 서버와 달리 애플리케이션 로직 실행 가능하도록 구성

라운드 로빈(RR)
시분할 시스템을 위해 설계된 선점형 스케줄링
프로게스들 사이에 우선순위를 두지 않고, 순서대로 시간단위로 CPU를 할당하는 방식의 CPU 스케줄링
SSL/TLS 암호화
보안 연결을 위한 프로토콜로, HTTP로 웹사이트에 안전하게 접근
### bash
mkdir -p /docker/nginx/conf /docker/nginx/certs /docker/nginx/logs
nano /docker/nginx/conf/default.conf
### .conf
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://gitlab:80;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
error_page 404 /404.html;
location = /404.html {
root /usr/share/nginx/html;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
참고자료
https://jwprogramming.tistory.com/17
https://eun-jeong.tistory.com/17
https://blog.naver.com/gi_balja/223028077537