forked from M-Labs/nix-scripts
nixbld: add password on munin output
This commit is contained in:
parent
ae4fcf44d3
commit
9e796e5073
|
@ -276,6 +276,10 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
useACMEHost = "nixbld.m-labs.hk";
|
useACMEHost = "nixbld.m-labs.hk";
|
||||||
locations."/munin".alias = "/var/www/munin";
|
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/";
|
locations."/homu/".proxyPass = "http://127.0.0.1:54856/";
|
||||||
};
|
};
|
||||||
"nixbld.m-labs.hk" = {
|
"nixbld.m-labs.hk" = {
|
||||||
|
|
Loading…
Reference in New Issue