chore: remove photoprism (for now)
This commit is contained in:
parent
7b28a6b220
commit
72a226ea33
3 changed files with 1 additions and 40 deletions
services
|
@ -1,24 +0,0 @@
|
|||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = [ pkgs.photoprism ];
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts."photos.felschr.com" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass =
|
||||
"http://localhost:${toString config.services.photoprism.port}";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = ''
|
||||
client_max_body_size 100M;
|
||||
proxy_read_timeout 300s;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.photoprism.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue