nginx settings

This commit is contained in:
Gerg-L 2024-12-11 21:53:10 -05:00
parent 5aa2328376
commit 796d255238
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI

View file

@ -72,6 +72,7 @@
extraConfig = '' extraConfig = ''
zstd on; zstd on;
zstd_types "*"; zstd_types "*";
client_max_body_size 50000M;
''; '';
}; };
"cache.gerg-l.com" = { "cache.gerg-l.com" = {
@ -83,6 +84,7 @@
extraConfig = '' extraConfig = ''
zstd on; zstd on;
zstd_types "*"; zstd_types "*";
client_max_body_size 50000M;
''; '';
}; };
}; };
@ -90,6 +92,11 @@
forceSSL = true; forceSSL = true;
useACMEHost = "gerg-l.com"; useACMEHost = "gerg-l.com";
locations."/".proxyPass = "http://localhost:${toString config.services.immich.port}"; locations."/".proxyPass = "http://localhost:${toString config.services.immich.port}";
extraConfig = ''
zstd on;
zstd_types "*";
client_max_body_size 50000M;
'';
}; };
}; };
}; };