Compare commits

..

4 Commits

Author SHA1 Message Date
Oystein Kristoffer Tveit e4652a0c94
add snakeoil certs
Eval nix flake / evals (push) Failing after 1m45s Details
Eval nix flake / evals (pull_request) Failing after 1m54s Details
2024-04-01 13:13:18 +02:00
Oystein Kristoffer Tveit d54e550b21 bekkalokk: init mediawiki
Eval nix flake / evals (push) Failing after 1m40s Details
Eval nix flake / evals (pull_request) Failing after 1m48s Details
Co-authored-by: Jørn Åne <yorinad@pvv.ntnu.no>
2024-04-01 01:36:04 +02:00
Oystein Kristoffer Tveit b86bfcfcd9 bekkalokk: init idp-simplesamlphp 2024-04-01 01:36:04 +02:00
Oystein Kristoffer Tveit b87d9cc86a bekkalokk: redirect bekkalokk.pvv.ntnu.no to git.pvv.ntnu.no 2024-04-01 00:39:13 +02:00
2 changed files with 6 additions and 2 deletions

View File

@ -93,12 +93,10 @@
"snakeoil_cert/public" = { "snakeoil_cert/public" = {
owner = "nginx"; owner = "nginx";
group = "nginx"; group = "nginx";
sopsFile = ./secrets/common.yaml;
}; };
"snakeoil_cert/private" = { "snakeoil_cert/private" = {
owner = "nginx"; owner = "nginx";
group = "nginx"; group = "nginx";
sopsFile = ./secrets/common.yaml;
}; };
}; };

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 ];