init
This commit is contained in:
commit
3ab713a5b3
64 changed files with 2043 additions and 0 deletions
20
hosts/abacus/nginx.nix
Normal file
20
hosts/abacus/nginx.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
environment.persistence."/persist".directories = ["/var/www"];
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
package = pkgs.nginxQuic;
|
||||
|
||||
recommendedBrotliSettings = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
recommendedZstdSettings = true;
|
||||
commonHttpConfig = "access_log syslog:server=unix:/dev/log;";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue