Added proxy to gitlab pages for rc3 cluster site

This commit is contained in:
Matthias Stübinger 2020-12-08 17:57:35 +01:00
parent a3f1f5b8df
commit b278e68102

View file

@ -7,7 +7,16 @@
services.nginx.package = pkgs.nginx.override { services.nginx.package = pkgs.nginx.override {
modules = [ pkgs.nginxModules.rtmp ]; 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" = { "hainich.chaoswit.ch" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
@ -21,6 +30,8 @@
}; };
}; };
}; };
"freedom.rc3.io" = rc3clustersite;
"future.rc3.io" = rc3clustersite;
}; };
networking.firewall.allowedTCPPorts = [ 1935 ]; networking.firewall.allowedTCPPorts = [ 1935 ];