feat: hedgedoc
This commit is contained in:
parent
2822385074
commit
1233b1afde
13 changed files with 178 additions and 9 deletions
|
|
@ -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 = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue