공식 nginx.org 저장소에서 NGINX 웹 서버를 설치합니다.
기본 위치
- 웹 루트:
/usr/share/nginx/html - 구성:
/etc/nginx/nginx.conf그리고/etc/nginx/conf.d - 로그:
/var/log/nginx/
접근
브라우저를 실행하세요: http://<server-ip>/
서비스 제어 명령어
sudo systemctl start nginx sudo systemctl stop nginx sudo systemctl restart nginx sudo systemctl status nginx sudo systemctl reload nginx