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

16 lines
293 B
Nix
Raw Normal View History

{ config, values, pkgs, lib, ... }:
{
imports = [
./roundcube.nix
];
services.nginx.virtualHosts."webmail.pvv.ntnu.no" = {
forceSSL = true;
enableACME = true;
2024-04-10 22:01:19 +02:00
kTLS = true;
locations."= /" = {
return = "302 https://webmail.pvv.ntnu.no/roundcube";
};
};
}