homebrew를 통해서 nginx 설치한다.홈페이지에서 다운받거나 운영체제별 패키지다운로드 명령어를 통해서도 설치 가능하다.설치방법https://nginx.org/en/docs/install.html설치경로 /opt/homebrew/opt/nginx 의 bi