feat: hedgedoc

This commit is contained in:
xyno (Philipp Hochkamp) 2023-09-14 15:16:09 +02:00
parent 2822385074
commit 1233b1afde
13 changed files with 178 additions and 9 deletions

View file

@ -66,6 +66,17 @@
enableACME = true;
forceSSL = true;
locations."/".return = "307 https://xyno.space$request_uri";
} // (lib.findOutTlsConfig "xyno.systems" config);
security.acme.certs."xyno.systems" = {
dnsProvider = "ionos";
dnsResolver = "1.1.1.1:53";
group = "nginx";
extraDomainNames = [
"*.xyno.systems"
];
credentialsFile = "${config.age.secrets.cloudflareAcme.path}";
};
services.nginx.appendHttpConfig = ''