feat: run immich
This commit is contained in:
+13
-13
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user