@eightqueen brew inof nginx 就有说明: ==> 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
ryd994
2016-06-10 02:07:31 +08:00
nginx -V 看编译参数 包括配置文件路径和默认 root 都有
leefly
2016-06-14 10:39:58 +08:00
同 5 楼, brew info nginx 之后和 nginx 相关的信息都有了
第 1 页 / 共 1 页
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。