nixos-config/hosts/ghost/nginx.nix

16 lines
301 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";
};
2024-03-23 12:41:45 -03:00
2023-10-26 11:27:09 -03:00
networking.firewall.allowedTCPPorts = [ 80 443 ];
}