Nginx
corejava999
嗨,我是舒伯特
展开
-
Nginx错误汇总
服务器常见Nginx错误汇总1.nginx:no live upstreams while connecting to upstreamno live upstreams while connecting to upstream[error] 27212#0: *314 no live upstreams while connecting to upstream, clien...2015-04-13 22:42:40 · 519 阅读 · 0 评论 -
Nginx 输出Json格式日志
在项目中,为了提高数据处理速度,需要Nginx输入Json格式的日志,处理方式如下: 修改NGINX_HOME/conf/nginx.conf文件,开启log_format格式,并配置格式定义如下: log_format logstash_json '{ "@timestamp": "$time_iso8601", ''"remote_addr": "$remote_addr...2015-05-19 17:58:27 · 621 阅读 · 0 评论