bicep/matrix/hookshot: try fix up widgets and SSL

This commit is contained in:
2025-10-13 05:42:06 +02:00
parent 9e51bdb373
commit bacfdeff23
2 changed files with 14 additions and 9 deletions

View File

@@ -84,7 +84,7 @@ in
enabled = true;
pollIntervalSeconds = 600;
};
serviceBots = [
{ localpart = "bot_feeds";
displayname = "Aya";
@@ -94,6 +94,10 @@ in
}
];
widgets = {
publicUrl = "https://hookshot.pvv.ntnu.no/widgetapi/v1/static";
};
permissions = [
# Users of the PVV Server
{ actor = "pvv.ntnu.no";
@@ -128,6 +132,7 @@ in
services.nginx.virtualHosts."hookshot.pvv.ntnu.no" = {
enableACME = true;
addSSL = true;
locations."/" = {
proxyPass = "http://${webhookListenAddress}:${toString webhookListenPort}";
};