mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2025-02-06 10:05:27 -05:00
nginx: use syslog for error log
This commit is contained in:
parent
19222d2b0a
commit
f945befca2
@ -64,7 +64,7 @@ http {
|
|||||||
'"$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 /var/log/nginx/access.log main buffer=64k flush=1m;
|
||||||
error_log /var/log/nginx/error.log;
|
error_log syslog:server=unix:/dev/log,nohostname;
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
|
|
||||||
gzip_proxied any;
|
gzip_proxied any;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user