hoony's web study

728x90
반응형

오늘은 php때문에 맥에 nginx를 인스톨하다가 알게 된것을 공유하고자 이렇게 포스팅을 합니다.

하는 방법은 간단합니다. 

brew install nginx

Docroot : /opt/homebrew/var/www

nginx restart 하는 방법 

brew services restart nginx

nginx conf 폴더의 위치 및 포트 정보 

The default port has been set in /opt/homebrew/etc/nginx/nginx.conf to 8080 so that
nginx can run without sudo.

 

728x90

공유하기

facebook twitter kakaoTalk kakaostory naver band
loading