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


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




최초 작성일 : 2021-10-15 | 수정일 : 2022-10-16 | 조회수 : 880

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;'

Tags  #Nginx  

닉네임:
댓글내용: