Skip to content

Instantly share code, notes, and snippets.

View grgergo1's full-sized avatar

grgergo grgergo1

  • 16:14 (UTC +02:00)
View GitHub Profile
@ricsiga
ricsiga / log.conf
Last active January 10, 2024 20:14
add hostname to nginx access.log
log_format vhost '$host - $remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" $request_time';
access_log /var/log/nginx/access.log vhost;