pvv-nixos-config/hosts/bekkalokk/services/webmail/default.nix
h7x4 2a1e649eed
All checks were successful
Eval nix flake / evals (push) Successful in 16m1s
Eval nix flake / evals (pull_request) Successful in 21m4s
bekkalokk: fix roundcube, and move to webmail2.pvv.ntnu.no/roundcube
2023-11-26 05:05:15 +01:00

16 lines
307 B
Nix

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