better access log

This commit is contained in:
Devaev Maxim
2018-12-16 02:28:13 +03:00
parent e5dfc9e306
commit d7fb06d22e
5 changed files with 16 additions and 4 deletions

View File

@@ -6,6 +6,7 @@ kvmd:
host: 127.0.0.1
port: 8081
heartbeat: 3.0
access_log_format: "[%{X-Real-IP}i] '%r' => %s; size=%b --- referer='%{Referer}i'; user_agent='%{User-Agent}i'"
auth:
htpasswd: /etc/kvmd/htpasswd

View File

@@ -6,6 +6,7 @@ kvmd:
host: 127.0.0.1
port: 8081
heartbeat: 3.0
access_log_format: "[%{X-Real-IP}i] '%r' => %s; size=%b --- referer='%{Referer}i'; user_agent='%{User-Agent}i'"
auth:
htpasswd: /etc/kvmd/htpasswd