mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2024-12-20 13:24:37 -05:00
use syslog (journald) for nginx access log
This commit is contained in:
parent
7b8a505d17
commit
9ed069073c
@ -67,7 +67,7 @@ http {
|
|||||||
log_format main '$remote_addr - $remote_user [$time_local] '
|
log_format main '$remote_addr - $remote_user [$time_local] '
|
||||||
'"$request_method $scheme://$host$request_uri $server_protocol" $status $body_bytes_sent '
|
'"$request_method $scheme://$host$request_uri $server_protocol" $status $body_bytes_sent '
|
||||||
'"$http_referer" "$http_user_agent"';
|
'"$http_referer" "$http_user_agent"';
|
||||||
access_log /var/log/nginx/access.log main buffer=64k flush=1m;
|
access_log syslog:server=unix:/dev/log,nohostname;
|
||||||
error_log syslog:server=unix:/dev/log,nohostname;
|
error_log syslog:server=unix:/dev/log,nohostname;
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user