2
2
mirror of https://git.feal.no/felixalb/nixos-config.git synced 2025-01-09 11:51:14 +01:00
nixos-config/hosts/malcolm/services/nginx.nix

18 lines
359 B
Nix

{ config, values, ... }:
{
services.nginx = {
enable = true;
clientMaxBodySize = "100m";
recommendedProxySettings = true;
recommendedTlsSettings = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
virtualHosts."kinealbrigtsen.no".default = true;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}