email smtp2go&google relay 2

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2026-05-04 03:30:43 +02:00
parent 245fdbb60f
commit 6ab89d09b7
6 changed files with 73 additions and 20 deletions

View File

@@ -15,7 +15,8 @@
"${hyper.domain}" = {
extraDomainNames = builtins.map (subd: "${subd}.${hyper.domain}") [
"sync"
"mail"
"ssh"
# "mail"
];
};
};
@@ -116,6 +117,13 @@
];
locations."/.well-known/acme-challenge".root = "/var/lib/acme/acme-challenge";
};
"ssh.${hyper.domain}" = {
listen = [
{ addr = "0.0.0.0"; port = 80; }
{ addr = "[::0]"; port = 80; }
];
locations."/.well-known/acme-challenge".root = "/var/lib/acme/acme-challenge";
};
"matrix.${hyper.domain}" = {
listen = dl;
locations."~.*".return = "502";
@@ -204,10 +212,12 @@
};
"dev.${hyper.domain}" = vh // {
listen = dl;
locations."/" = {
proxyPass = "http://127.0.0.1:8080";
proxyWebsockets = true;
};
locations = {
"/" = {
proxyPass = "http://127.0.0.1:8080";
proxyWebsockets = true;
};
};
};
# is done atomatically
# "owc.${hyper.domain}" = vh // {