MacOS 安装 nginx
摘要:
brew install nginx 开机启动$ sudo cp `brew --prefix nginx`/homebrew.mxcl.nginx.plist /Library/LaunchDaemons/$ sudo sed -i -e 's/`whoami`/root/g' `brew --prefix nginx`/homebrew.mxcl.nginx.plisterror logsudo mkdir /var/log/nginx/nginx.conf:error_log /var/log/nginx/error.log;)Config file directory: 阅读全文
posted @ 2013-09-29 11:14 小浪鼓 阅读(2532) 评论(0) 推荐(0) 编辑