pvv-nixos-config/hosts/bekkalokk/services/webmail/default.nix

16 lines
286 B
Nix

{ config, values, pkgs, lib, ... }:
{
imports = [
./roundcube.nix
];
services.nginx.virtualHosts."webmail2.pvv.ntnu.no" = {
forceSSL = true;
enableACME = true;
kTLS = true;
locations."= /" = {
return = "301 https://www.pvv.ntnu.no/mail/";
};
};
}