include scheme and host in access log

This commit is contained in:
Daniel Micay 2021-05-07 02:21:51 -04:00
parent 52f7aa5439
commit 959d3e2053

View File

@ -63,7 +63,10 @@ http {
# maintained by certbot-ocsp-fetcher
ssl_stapling_file ocsp-cache/grapheneos.org.der;
access_log /var/log/nginx/access.log combined buffer=64k flush=1m;
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 /var/log/nginx/access.log main buffer=64k flush=1m;
error_log /var/log/nginx/error.log;
gzip_proxied any;