bekkalokk/gitea-web: host pages

This commit is contained in:
Oystein Kristoffer Tveit 2024-08-14 21:28:07 +02:00
parent 6e536b884b
commit 4665456620
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -117,4 +117,11 @@ in
systemd.targets.timers.wants = map (org: "gitea-web-secret-provider@${org}.timer") organizations;
services.openssh.authorizedKeysFiles = map (org: "/var/lib/gitea-web/authorized_keys.d/${org}") organizations;
services.nginx.virtualHosts."pages.pvv.ntnu.no" = {
kTLS = true;
forceSSL = true;
enableACME = true;
root = "/var/lib/gitea-web/web";
};
}