openbsd-ports/www/goaccess/patches/patch-config_goaccess_conf
landry 7936676f28 Update to goaccess 1.4
cf http://goaccess.io/release-notes#release-1.4, default config file
moved to /etc/goaccess/goaccess.conf

tested by paco@
ok kirby@ (maintainer)
2020-08-07 15:14:54 +00:00

35 lines
987 B
Plaintext

$OpenBSD: patch-config_goaccess_conf,v 1.2 2020/08/07 15:14:54 landry Exp $
Index: config/goaccess.conf
--- config/goaccess.conf.orig
+++ config/goaccess.conf
@@ -21,6 +21,16 @@
#
#time-format %s
+# httpd(8) common log format
+#date-format %d/%b/%Y
+#time-format %T %z
+#log-format %v %h %^ %^ [%d:%t] "%r" %s %b
+
+# httpd(8) combined log format
+#date-format %d/%b/%Y
+#time-format %T %z
+#log-format %v %h %^ %^ [%d:%t] "%r" %s %b "%R" "%u"
+
######################################
# Date Format Options (required)
######################################
@@ -698,7 +708,10 @@ static-file .flv
# Download the GeoLite2-Country.mmdb.gz
# gunzip GeoLite2-Country.mmdb.gz
#
-#geoip-database /usr/local/share/GeoIP/GeoLiteCity.dat
+
+# Free GeoLite2 databases are available in the geolite2-city/country packages.
+#geoip-database /var/db/GeoIP/GeoLite2-City.mmdb
+geoip-database /var/db/GeoIP/GeoLite2-Country.mmdb
######################################
# Persistence Options