摘要: 默认日志格式 log_format access '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" $http 阅读全文
posted @ 2016-08-18 15:17 lpfuture 阅读(351) 评论(0) 推荐(0) 编辑
摘要: hash表 Ngnix使用hash表来协助完成请求的快速处理。 考虑到保存键及其值的hash表存储单元的大小不至于超出设定参数(hash bucket size), 在启动和每次重新配置时,Nginx为hash表选择尽可能小的尺寸。 直到hash表超过参数(hash max size)的大小才重新进 阅读全文
posted @ 2016-08-18 14:32 lpfuture 阅读(177) 评论(0) 推荐(0) 编辑
摘要: nginx命令行参数 [user@host dir]$ /usr/local/nginx/sbin/nginx -hnginx version: nginx/1.8.0Usage: nginx [-?hvVtq] [-s signal] [-c filename] [-p prefix] [-g d 阅读全文
posted @ 2016-08-18 14:23 lpfuture 阅读(3448) 评论(0) 推荐(1) 编辑