add headscale
This commit is contained in:
+12
-10
@@ -1,15 +1,17 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.immich.enable = true;
|
||||
services.immich.port = 2283;
|
||||
services.immich.host = "0.0.0.0";
|
||||
services.immich.mediaLocation = "/var/lib/media/images";
|
||||
services.immich = {
|
||||
enable = true;
|
||||
host = "127.0.0.1";
|
||||
port = 2283;
|
||||
mediaLocation = "/var/lib/immich";
|
||||
};
|
||||
|
||||
services.caddy.enable = true;
|
||||
services.caddy.virtualHosts."image.grasswren.net".extraConfig = ''
|
||||
reverse_proxy localhost:2283
|
||||
'';
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 2283 ];
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts."image.grasswren.net".extraConfig = ''
|
||||
reverse_proxy localhost:2283
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user