nixos-config/hosts/challenger/services/nginx.nix

24 lines
489 B
Nix
Raw Normal View History

2023-04-16 16:49:08 +02:00
{ config, values, ... }:
{
services.nginx = {
enable = true;
enableReload = true;
2023-12-18 23:17:57 +01:00
clientMaxBodySize = "100m";
2023-04-16 16:49:08 +02:00
recommendedProxySettings = true;
recommendedTlsSettings = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
2024-09-12 20:18:05 +02:00
virtualHosts."cloud.feal.no".default = true;
2023-04-16 16:49:08 +02:00
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
2023-09-13 23:21:28 +02:00
/* security.acme = { */
/* acceptTerms = true; */
/* email = "felix@albrigtsen.it"; */
/* }; */
2023-04-16 16:49:08 +02:00
}