1
0
Fork 0
pvv-nixos-config/hosts/bekkalokk/services/nginx/default.nix

23 lines
400 B
Nix
Raw Permalink Normal View History

2023-11-05 01:41:45 +01:00
{ pkgs, config, ... }:
{
imports = [
./ingress.nix
];
security.acme = {
acceptTerms = true;
defaults.email = "drift@pvv.ntnu.no";
};
services.nginx = {
enable = true;
recommendedTlsSettings = true;
recommendedProxySettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}