hugo
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
};
|
||||
certs = {
|
||||
"${domain}" = {
|
||||
extraDomainNames = builtins.map (subd: "${subd}.${domain}") [ "sync" ];
|
||||
extraDomainNames = builtins.map (subd: "${subd}.${domain}") [ "sync" "dev" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -145,10 +145,21 @@
|
||||
# };
|
||||
"abs.${domain}" = vh // {
|
||||
listen = dl;
|
||||
locations = { "/" = {
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${builtins.toString config.services.audiobookshelf.port}";
|
||||
proxyWebsockets = true;
|
||||
}; };
|
||||
};
|
||||
};
|
||||
"dev.${domain}" = vh // {
|
||||
listen = dl ++ [
|
||||
# { addr = "0.0.0.0"; port = 8000; ssl = true; }
|
||||
# { addr = "[::0]"; port = 8000; ssl = true; }
|
||||
];
|
||||
root = "/var/lib/hugo/nx2site/public";
|
||||
# locations."/" = {
|
||||
# proxyPass = "http://127.0.0.1:8000";
|
||||
# proxyWebsockets = true;
|
||||
# };
|
||||
};
|
||||
# is done atomatically
|
||||
# "cal.${domain}" = vh // {
|
||||
|
||||
Reference in New Issue
Block a user