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

This commit is contained in:
Oystein Kristoffer Tveit 2024-03-30 00:02:22 +01:00
parent 1d0255644a
commit 7e1d8d7e16
2 changed files with 12 additions and 0 deletions

View File

@ -16,6 +16,12 @@
recommendedProxySettings = true; recommendedProxySettings = true;
recommendedOptimisation = true; recommendedOptimisation = true;
recommendedGzipSettings = 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 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];

View File

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