방금 맥북에 설치한 정보 메모..


==> Installing nginx

==> Downloading https://homebrew.bintray.com/bottles/nginx-1.15.0.high_sierra.bottle.tar.gz

######################################################################## 100.0%

==> Pouring nginx-1.15.0.high_sierra.bottle.tar.gz

==> Caveats

Docroot is: /usr/local/var/www


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

nginx can run without sudo.


nginx will load all files in /usr/local/etc/nginx/servers/.


To have launchd start nginx now and restart at login:

  brew services start nginx

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

  nginx

==> Summary

🍺  /usr/local/Cellar/nginx/1.15.0: 23 files, 1.4MB



내 서버에는 왜 /etc/nginx

..  암튼 맥북


시작 : $ nginx

종료 : $ nginx -s stop

재시작 : $ nginx -s reload


listen       80 으로 바꾸면 sudo

'잡담' 카테고리의 다른 글

記録 2021.01.11.  (0) 2021.01.12
메모  (0) 2020.11.26
티스토리 방치상태네...  (0) 2020.09.01
NewSQL memo  (0) 2018.07.27
memo  (0) 2018.07.05

+ Recent posts