feat: run immich

This commit is contained in:
Anish Lakhwara
2025-05-03 22:44:48 -07:00
parent cfa7dfacd6
commit f4e53de4c4
4 changed files with 28 additions and 18 deletions
+13 -13
View File
@@ -31,20 +31,20 @@
};
# Reverse proxy for immich
services.nginx.virtualHosts."photos.sealight.xyz" = {
enableACME = true;
forceSSL = true;
# services.nginx.virtualHosts."photos.sealight.xyz" = {
# enableACME = true;
# forceSSL = true;
locations."/" = {
extraConfig = ''
proxy_pass http://10.0.69.4:8567;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
'';
};
};
# locations."/" = {
# extraConfig = ''
# proxy_pass http://10.0.69.4:8567;
# proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header X-Forwarded-Proto $scheme;
# '';
# };
# };
services.postgresql.package = pkgs.postgresql_15;
services.postgresqlBackup = {