NGINX - 01. NGINX 설치 Version(Rocky 8.10, NGINX 1.14.1)

 

 

 

 

 

 

NGINX 설치

dnf install -y nginx

 

 

NGINX 버전 확인

nginx -v

 

 

NGINX 자동실행

systemctl enable --now nginx

 

 

실행확인

systemctl status nginx

 

리스너 확인

netstat -lnpt

 

 

 

NGINX 설정파일 위치

- /etc/nginx/nginx.conf

 

 

로그파일 위치

- /var/log/nginx

 

기본 HTML 디렉터리

- /usr/share/nginx/html