http(전역) → server(가상 호스트) → location(URL 경로). 안쪽이 바깥을 상속하고 필요한 부분만 덮어쓴다.listen=Listen, server_name=ServerName, root=DocumentRoot, index=DirectoryIndex.upstream으로 백엔드 그룹을 정의하고 proxy_pass로 전달한다. 백엔드를 숨기고 부하를 나누며 TLS·캐싱을 한곳에서 처리한다..htaccess가 없고 중앙 설정만 쓴다.nginx -t(문법 검사) → nginx -s reload(무중단 재적용). 동시 연결은 worker_processes × worker_connections이되 OS의 fd 한계에 묶인다.# 설치
yum install nginx
# 데몬 제어
systemctl start nginx
systemctl enable nginx
# 설정 문법 검사 (재시작 전 필수!)
nginx -t