refactor: config/hosts => hosts
This commit is contained in:
14
hosts/imxyy-nix-server/homepage.nix
Normal file
14
hosts/imxyy-nix-server/homepage.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
virtualisation.oci-containers.containers.sun-panel = {
|
||||
image = "hslr/sun-panel:latest";
|
||||
volumes = [
|
||||
"/var/lib/sun-panel:/app/conf"
|
||||
];
|
||||
ports = [ "8085:3002" ];
|
||||
};
|
||||
services.caddy.virtualHosts."home.imxyy.top" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy :8085
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user