설치디렉토리로 이동

 

1.시작

> nginx

 

2.종료

> nginx -s stop

 

3.재시작

> nginx -s reload

 

-----------

루트디렉토리 수정

- conf 디렉토리내의 nginx.conf 설정파일

 

location / {
                #root   html;
                root  "D:\html";
                index  index.html index.htm;
}

'Infra Structure > Nginx' 카테고리의 다른 글

[Nginx] SSL 적용  (0) 2022.07.11
[Nginx] docker로 Nginx 설치  (0) 2022.07.03
[Nginx] Load Balancing 설정하기  (0) 2022.06.01
[Nginx] Tomcat 연동  (0) 2022.05.31
[Nginx] Ubuntu에 Nginx 설치 및 실행  (0) 2022.05.31

+ Recent posts