diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-12-15 19:42:53 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-12-16 22:45:13 +0800 |
commit | 1cb80b2d9f3245bfc9e3f02f84b6af681054131a (patch) | |
tree | 47cbb38ce9e7b3e92b0262e35bf8dfcdbe929526 /nginx/nginx.conf | |
parent | 465c4ba5b4f0b4f69fd3773fc4f9f9650b7fffa0 (diff) |
add cgit
Diffstat (limited to 'nginx/nginx.conf')
-rw-r--r-- | nginx/nginx.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 605f056..f94c508 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf | |||
@@ -33,7 +33,7 @@ http { | |||
33 | # '$status $body_bytes_sent "$http_referer" ' | 33 | # '$status $body_bytes_sent "$http_referer" ' |
34 | # '"$http_user_agent" "$http_x_forwarded_for"'; | 34 | # '"$http_user_agent" "$http_x_forwarded_for"'; |
35 | log_format main '$status $request_method\t$http_host$uri\tfrom $http_referer\n' | 35 | log_format main '$status $request_method\t$http_host$uri\tfrom $http_referer\n' |
36 | ' $time_iso8601 $remote_addr\r\t\t\t\t\t $http_user_agent'; | 36 | ' $time_iso8601 $remote_addr\r\t\t\t\t\t $http_user_agent'; |
37 | access_log /var/log/nginx/access.log main; | 37 | access_log /var/log/nginx/access.log main; |
38 | 38 | ||
39 | sendfile on; | 39 | sendfile on; |