feat: lab: +attic cache
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{
|
||||
domain,
|
||||
...
|
||||
}: { ... }: {
|
||||
hectic.services.attic = {
|
||||
enable = true;
|
||||
hostName = "cache.${domain}";
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."cache.${domain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8080";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user