맥에서 nginx 설치 및 설정

2019. 12. 24. 15:51 Server, WAS/nginx

맥에서 nginx를 설치하고 설정을 해보도록 하자. 


우선 brew install nginx 로 설치해주자. 그 다음 명령어


시작 : nginx 

중지 : nginx -s stop

재시작 : nginx -s reload


환경 설정 : vi /usr/local/etc/nginx/nginx.conf



저기 보이는 root 부분을 수정해주면 된다.



출처: https://nhj12311.tistory.com/44 [NSpace]

'Server, WAS > nginx' 카테고리의 다른 글

[NGINX - Server] NGINX + Node 연동하기  (0) 2021.03.17
[NGINX - Server] 설치하기  (0) 2021.03.17