1
0
Fork 0

nixbld: add password on munin output

This commit is contained in:
Sebastien Bourdeauducq 2019-06-24 18:54:44 +08:00
parent ae4fcf44d3
commit 9e796e5073
1 changed files with 4 additions and 0 deletions

View File

@ -276,6 +276,10 @@ ACTION=="add", SUBSYSTEM=="tty", \
addSSL = true;
useACMEHost = "nixbld.m-labs.hk";
locations."/munin".alias = "/var/www/munin";
locations."/munin".extraConfig = ''
auth_basic "Munin";
auth_basic_user_file /etc/nixos/secret/muninpasswd;
'';
locations."/homu/".proxyPass = "http://127.0.0.1:54856/";
};
"nixbld.m-labs.hk" = {