Added proxy to gitlab pages for rc3 cluster site

keep-around/b278e68102ceedcd0756c67a3cff6b4f1c1321bb
Matthias Stübinger 2020-12-08 17:57:35 +01:00
parent a3f1f5b8df
commit b278e68102
1 changed files with 12 additions and 1 deletions

View File

@ -7,7 +7,16 @@
services.nginx.package = pkgs.nginx.override {
modules = [ pkgs.nginxModules.rtmp ];
};
services.nginx.virtualHosts = {
recommendedProxySettings = true;
services.nginx.virtualHosts = let
rc3clustersite = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "https://stuebinm.4future.dev/about-future-website/";
};
in {
"hainich.chaoswit.ch" = {
enableACME = true;
forceSSL = true;
@ -21,6 +30,8 @@
};
};
};
"freedom.rc3.io" = rc3clustersite;
"future.rc3.io" = rc3clustersite;
};
networking.firewall.allowedTCPPorts = [ 1935 ];