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;
whitelist = [ "*" ];
};
services.nginx.virtualHosts.rss-bridge = {
serverAliases = [
"rss.r"
];
services.nginx.virtualHosts = {
rss-bridge = {
serverAliases = [
"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 = {
enable = true;
config = {

View File

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