Mac:Ngnix安装配置:修订间差异
imported>Riguz 创建页面,内容为“<source lang="bash"> brew install nginx /usr/local/Cellar/nginx/1.12.2_1/bin/nginx -c /usr/local/etc/nginx/nginx.conf </source> Category:Linux/Unix” |
imported>Riguz 无编辑摘要 |
||
(未显示同一用户的1个中间版本) | |||
第3行: | 第3行: | ||
/usr/local/Cellar/nginx/1.12.2_1/bin/nginx -c /usr/local/etc/nginx/nginx.conf | /usr/local/Cellar/nginx/1.12.2_1/bin/nginx -c /usr/local/etc/nginx/nginx.conf | ||
</source> | </source> | ||
=常规配置= | |||
=tcp_nopush= | |||
=send_file= | |||
=gzip= | |||
* http://nginx.org/en/docs/beginners_guide.html#conf_structure | |||
[[Category:Linux/Unix]] | [[Category:Linux/Unix]] |
2018年9月4日 (二) 01:54的最新版本
brew install nginx
/usr/local/Cellar/nginx/1.12.2_1/bin/nginx -c /usr/local/etc/nginx/nginx.conf