diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2022-09-27 10:23:23 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2022-09-27 10:23:23 -0400 |
| commit | ba88a05a533cb23ebbe18720163938c8d48146fb (patch) | |
| tree | ea33e125ae99b11590881be52a214441041b93c0 | |
| parent | 942959c75f8d399e9d4f37356346e9358a33deac (diff) | |
use custom format for access log again
| -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 e3de3352..55bfd9d5 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -68,7 +68,7 @@ http { log_format main '$remote_addr - $remote_user [$time_local] ' '"$request_method $scheme://$host$request_uri $server_protocol" $status $body_bytes_sent ' '"$http_referer" "$http_user_agent"'; - access_log syslog:server=unix:/dev/log,nohostname; + access_log syslog:server=unix:/dev/log,nohostname main; error_log syslog:server=unix:/dev/log,nohostname; log_not_found off; |
