news: serve state at http://brockman.r

This commit is contained in:
lassulus 2021-01-12 22:21:32 +01:00
parent b906bf0b02
commit 98becc8ff6
2 changed files with 17 additions and 4 deletions

View File

@ -5,12 +5,24 @@
enable = true; enable = true;
whitelist = [ "*" ]; whitelist = [ "*" ];
}; };
services.nginx.virtualHosts.rss-bridge = { services.nginx.virtualHosts = {
rss-bridge = {
serverAliases = [ serverAliases = [
"rss.r" "rss.r"
]; ];
}; };
"brockman.r" = {
locations."/".extraConfig = ''
root /var/lib/brockman;
index brockman.json;
'';
};
};
systemd.tmpfiles.rules = [
"d /var/lib/brockman 1750 brockman nginx -"
];
systemd.services.brockman.environment.BROCKMAN_LOG_LEVEL = "DEBUG";
krebs.brockman = { krebs.brockman = {
enable = true; enable = true;
config = { config = {

View File

@ -128,6 +128,7 @@ in {
ip4.addr = "10.243.77.2"; ip4.addr = "10.243.77.2";
aliases = [ aliases = [
"puyak.r" "puyak.r"
"brockman.r"
"build.puyak.r" "build.puyak.r"
"cgit.puyak.r" "cgit.puyak.r"
"go.r" "go.r"