Move Nginx virtual hosts to relative modules
Some checks failed
EVAL aarch64-linux.sisko
BUILD aarch64-linux.sisko
UPLOAD aarch64-linux.sisko
DOWNLOAD aarch64-linux.sisko
CACHIX aarch64-linux.sisko
ATTIC aarch64-linux.sisko
/ test (push) Successful in 1h20m54s

This commit is contained in:
Andrea Ciceri 2025-05-29 10:42:13 +02:00
parent 5fa324bfa2
commit 908508743b
No known key found for this signature in database
3 changed files with 27 additions and 102 deletions

View file

@ -22,4 +22,16 @@
fsType = "ext4";
options = [ "bind" ];
};
services.nginx.virtualHosts."photos.aciceri.dev" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:${builtins.toString config.services.immich.port}";
proxyWebsockets = true;
};
extraConfig = ''
client_max_body_size 50000M;
'';
};
}