nginx mac

Posted yintingting

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了nginx mac相关的知识,希望对你有一定的参考价值。

==> nginx

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

 

以上是关于nginx mac的主要内容,如果未能解决你的问题,请参考以下文章

linux 怎样重启nginx

linux下如何重启nginx

死磕nginx系列

Nginx一Nginx服务器搭建

nginx 如何检测配置文件的正确性

nginx安装和常见的配置