renge/hedgedoc: Migrate to 22.11 options

nazuna
Simon Bruder 2022-12-10 15:15:58 +01:00
parent aa7cf807f2
commit 81b3d4590a
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ in
services.hedgedoc = {
enable = true;
configuration = {
settings = {
host = "127.0.0.1";
port = 3001;
db = {
@ -50,13 +50,13 @@ in
};
systemd.tmpfiles.rules = [
"d ${cfg.configuration.uploadsPath} 0700 hedgedoc hedgedoc - -"
"d ${cfg.settings.uploadsPath} 0700 hedgedoc hedgedoc - -"
];
services.nginx.virtualHosts."pad.sbruder.de" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://${cfg.configuration.host}:${toString cfg.configuration.port}";
locations."/".proxyPass = "http://${cfg.settings.host}:${toString cfg.settings.port}";
};
}