Skip to content

Instantly share code, notes, and snippets.

@silenius
Created September 4, 2017 08:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silenius/908e91b0c712ac1994fe74a2fc2a9880 to your computer and use it in GitHub Desktop.
Save silenius/908e91b0c712ac1994fe74a2fc2a9880 to your computer and use it in GitHub Desktop.
awstats:
user: awstats
etc_dir: /usr/local/etc/awstats
data_dir: /usr/local/data/awstats
plugins:
geoipfree:
enabled: true
graphgooglechartapi:
enabled: true
config:
www.xxx.be:
LogFile: bzgrep -E -e '^.*[[:space:]]"www\.xxx(y|eit|e)\.be"[[:space:]]$' /var/log/haproxy/http-access.log.0.bz2|grep -E -v -e '"(GET|POST) \/biodiversa'|awk -F 'haproxy\[[0-9]+\]: ' '{print $2}' |
SiteDomain: www.xxx.be
HostAliases: www.yyy.be www.zzz.be vvv.be
afg.xxx.aq:
LogFile: bzgrep -E -e '^.*[[:space:]]"afg\.xxx\.aq"[[:space:]]$' /var/log/haproxy/http-access.log.0.bz2|awk -F 'haproxy\[[0-9]+\]: ' '{print $2}' |
SiteDomain: afg.xxx.aq
atlas.xxx.aq:
LogFile: bzgrep -E -e '^.*[[:space:]]"atlas\.xxx\.aq"[[:space:]]$' /var/log/haproxy/http-access.log.0.bz2|awk -F 'haproxy\[[0-9]+\]: ' '{print $2}' |
SiteDomain: atlas.xxx.aq
bicoh.xxx.be:
LogFile: bzgrep -E -e '^.*[[:space:]]"bicoh\.xxx\.be"[[:space:]]$' /var/log/haproxy/http-access.log.0.bz2|awk -F 'haproxy\[[0-9]+\]: ' '{print $2}' |
SiteDomain: bicoh.xxx.be
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment