mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-09 16:33:57 -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 = ''
|
||||
zstd on;
|
||||
zstd_types "*";
|
||||
client_max_body_size 50000M;
|
||||
'';
|
||||
};
|
||||
"cache.gerg-l.com" = {
|
||||
|
|
@ -83,6 +84,7 @@
|
|||
extraConfig = ''
|
||||
zstd on;
|
||||
zstd_types "*";
|
||||
client_max_body_size 50000M;
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
@ -90,6 +92,11 @@
|
|||
forceSSL = true;
|
||||
useACMEHost = "gerg-l.com";
|
||||
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