From ddcf7a2a363d266716a9ab48d19164165b9c4e38 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 19 Feb 2023 22:42:58 -0500 Subject: [PATCH] add back request method to log format --- nginx/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 15be9f0..6e76673 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -71,7 +71,7 @@ http { ssl_stapling_file ocsp-cache/matrix.grapheneos.org.der; log_format main '$connection $remote_addr $remote_user $ssl_protocol $server_protocol ' - '$host "$request_uri" $status $request_length $body_bytes_sent/$bytes_sent ' + '$host $request_method "$request_uri" $status $request_length $body_bytes_sent/$bytes_sent ' '$request_time "$http_referer" "$http_user_agent"'; access_log syslog:server=unix:/dev/log,nohostname main; log_not_found off;