맥·IT·AI 실전 분석
2026년 12월 6일 (일)
테크 가이드

[macOS] 맥미니 2020 M1, Nginx 설치완료후 메세지

Docroot is: /opt/homebrew/var/wwwThe default port has been set in /opt/homebrew/etc/nginx/nginx.conf to 8080 so thatnginx can run without sudo.nginx will load a…

스레드페이스북X

Docroot is: /opt/homebrew/var/www


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

nginx can run without sudo.


nginx will load all files in /opt/homebrew/etc/nginx/servers/.


To start nginx:

  brew services start nginx

Or, if you don't want/need a background service you can just run:

  /opt/homebrew/opt/nginx/bin/nginx -g 'daemon off;'

==> Summary

?  /opt/homebrew/Cellar/nginx/1.21.3: 26 files, 2.2MB

==> Caveats

==> nginx

Docroot is: /opt/homebrew/var/www


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

nginx can run without sudo.


nginx will load all files in /opt/homebrew/etc/nginx/servers/.


To start nginx:

  brew services start nginx

Or, if you don't want/need a background service you can just run:

  /opt/homebrew/opt/nginx/bin/nginx -g 'daemon off;'

이 글 공유하기

스레드페이스북X

테크 가이드의 다른 글

더 보기 →