mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
nginx settings
This commit is contained in:
parent
5aa2328376
commit
796d255238
1 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue