]> git.somenet.org - root/pub/somesible.git/blob - roles/server/nginx/vhost-unified/templates/default/awstats.j2
[roles/server/nginx/vhost-unified] create nginx vhost
[root/pub/somesible.git] / roles / server / nginx / vhost-unified / templates / default / awstats.j2
1 #
2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
7 #
8
9 Include "/etc/awstats/awstats.conf"
10
11 LogFile="/var/log/nginx/{{vhost_name}}-access.log"
12 SiteDomain="{{vhost_name}}"
13 {% if vhost_aliases != "" or vhost_aliases_nocert != "" %}
14 HostAliases="{{vhost_aliases}} {{vhost_aliases_nocert}}"
15 {% endif %}
16 {% if vhost_awstats_ignore_monitoring_ips != "" %}
17 SkipHosts="{{vhost_awstats_ignore_monitoring_ips}}"
18 {% endif %}
19
20 ValidHTTPCodes="{{vhost_awstats_valid_http_codes}}"