This commit is contained in:
XenGi 2025-12-05 12:06:16 +01:00
parent ff9315233c
commit 8bfa4284cb
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg
2 changed files with 20 additions and 5 deletions

View file

@ -21,6 +21,7 @@ in
recommendedGzipSettings = true;
recommendedBrotliSettings = true;
virtualHosts."${fqdn}" = {
default = true;
quic = true;
kTLS = true;
forceSSL = true;
@ -49,7 +50,7 @@ in
];
locations = {
"/.well-known/acme-challenge".root = config.security.acme.defaults.webroot;
"/".return = "418 \"I'm a Teapot!\"";
"/".return = "418 \"🫖\"";
"= /.well-known/matrix/client" = {
return = "200 '{\"m.homeserver\": {\"base_url\": \"https://matrix.berlin.ccc.de\"}}'";
extraConfig = ''