nixos-config/hosts/phantom/nginx.nix

16 lines
301 B
Nix
Raw Normal View History

2024-03-28 21:56:52 -03:00
{ config, pkgs, inputs, ... }: {
services.nginx = {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
};
security.acme = {
acceptTerms = true;
defaults.email = "lelgenio@disroot.org";
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}