mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-23 12:37:30 +01:00
23 lines
441 B
Nix
23 lines
441 B
Nix
{ config, values, ... }:
|
|
{
|
|
services.nginx = {
|
|
enable = true;
|
|
enableReload = true;
|
|
|
|
clientMaxBodySize = "100m";
|
|
|
|
recommendedProxySettings = true;
|
|
recommendedTlsSettings = true;
|
|
recommendedGzipSettings = true;
|
|
recommendedOptimisation = true;
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
|
|
/* security.acme = { */
|
|
/* acceptTerms = true; */
|
|
/* email = "felix@albrigtsen.it"; */
|
|
/* }; */
|
|
}
|
|
|