email smtp2go&google relay 2
This commit is contained in:
@@ -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 // {
|
||||
|
||||
Reference in New Issue
Block a user