comparison conf/nginx.conf @ 2684:c944cba169e3

update $status in log_format example
author Igor Sysoev <igor@sysoev.ru>
date Mon, 06 Apr 2009 13:43:46 +0000
parents d795199b41ad
children 1e90599af73b
comparison
equal deleted inserted replaced
2683:729bd899cbb9 2684:c944cba169e3
17 http { 17 http {
18 include mime.types; 18 include mime.types;
19 default_type application/octet-stream; 19 default_type application/octet-stream;
20 20
21 #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' 21 #log_format main '$remote_addr - $remote_user [$time_local] "$request" '
22 # '"$status" $body_bytes_sent "$http_referer" ' 22 # '$status $body_bytes_sent "$http_referer" '
23 # '"$http_user_agent" "$http_x_forwarded_for"'; 23 # '"$http_user_agent" "$http_x_forwarded_for"';
24 24
25 #access_log logs/access.log main; 25 #access_log logs/access.log main;
26 26
27 sendfile on; 27 sendfile on;