]> git.somenet.org - root/pub/somesible.git/blob - roles/service/munin-server/vars/default/vars_nginx_vhost_custom.yml
roles/server/nginx/vhost-unified
[root/pub/somesible.git] / roles / service / munin-server / vars / default / vars_nginx_vhost_custom.yml
1 #####################################
2 ### someone"s ansible provisioner ###
3 #####################################
4 # Part of: https://git.somenet.org/root/pub/somesible.git
5 # 2017-2024 by someone <someone@somenet.org>
6 #
7 ---
8 vhost_custom_pre_server: |-
9
10 vhost_custom: |-
11     location /static/ {
12         alias /etc/munin/static/;
13         expires modified +1w;
14         auth_pam "awstats";
15         auth_pam_service_name "nginx-awstats";
16     }
17
18     location / {
19         alias /var/cache/munin/www/;
20         expires modified +310s;
21         auth_pam "awstats";
22         auth_pam_service_name "nginx-awstats";
23     }
24