nginx常用命令

nginx启动命令  /usr/nginx/sbin/nginx -s reload 

nginx检测命令 /usr/nginx/sbin/nginx -t

错误:

nginx:[emerg] unknown log format "proxy_log" in/usr/local/macports/etc/nginx/nginx.conf:147

解决方法:/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf



你可能感兴趣的:(nginx,启动,检测)