1. nginx를 먼저 download
link : https://nginx.org

2.압축을 풀면 별거 없음. 단지, 약 3 Mbyte nginx.exe가 핵심

3.기본 program concept이 singleton 개념으로 별도의 shell에서 start, 별도의 shell에서 stop수행…

4.우선 시작 하기

$ nginx 

5. 중지를 원하면 별도 shell에서

$ nginx -s stop 

6.시작된 html root위치는
C:\nginx\html

7.conf폴더에 폼함된 nginx.conf 파일을 이용하여 기본 다양한 설정 가능 (ex, index page변경, port 변경,…)

server {
        listen       80;
        server_name  localhost;
        ...

8. index.html 실행 예제 (http://localhost)