photoprism: use vhost
This commit is contained in:
parent
6d72359353
commit
1df031965a
@ -4,8 +4,7 @@ let
|
||||
domain = "photos.giugl.io";
|
||||
in
|
||||
{
|
||||
services = {
|
||||
photoprism = {
|
||||
services.photoprism = {
|
||||
enable = true;
|
||||
package = pkgs.photoprism;
|
||||
originalsPath = "/var/lib/private/photoprism/originals";
|
||||
@ -32,6 +31,7 @@ in
|
||||
port = config.services.photoprism.port;
|
||||
allowLan = true;
|
||||
allow = [ config.architect.networks."tailscale".net ];
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user