nixos-config/hosts/ghost/nginx.nix

16 lines
303 B
Nix
Raw Normal View History

2023-10-26 11:27:09 -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 ];
}