bekkalokk: redirect bekkalokk.pvv.ntnu.no to git.pvv.ntnu.no

add-simple-saml-theme
Oystein Kristoffer Tveit 2024-03-30 00:02:22 +01:00
parent e0b3ce9378
commit 4c1966365b
2 changed files with 12 additions and 0 deletions

View File

@ -16,6 +16,12 @@
recommendedProxySettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
virtualHosts."bekkalokk.pvv.ntnu.no" = {
enableACME = true;
forceSSL = true;
locations."/".return = "301 $scheme://git.pvv.ntnu.no$request_uri";
};
};
networking.firewall.allowedTCPPorts = [ 80 443 ];

View File

@ -0,0 +1,6 @@
{ ... }:
{
services.openldap = {
enable = true;
};
}