summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2023-02-19 22:39:14 -0500
committerDaniel Micay <danielmicay@gmail.com>2023-02-19 22:40:14 -0500
commitbccb2250aea988593b260c8fd2059c527e26c7d2 (patch)
tree75e46f002925a9b8fb4ed13ee34c47291b3382af
parentc13794745384463e4afe88704f8ea34b53962dfb (diff)
add back request method to log format
-rw-r--r--nginx/nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 5f37e1fe..c05c27fe 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -71,7 +71,7 @@ http {
ssl_stapling_file ocsp-cache/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;