forked from hacc/haccfiles
Added proxy to gitlab pages for rc3 cluster site
Signed-off-by: hexchen <hexchen@lilwit.ch>
This commit is contained in:
parent
4c8d4af865
commit
a0042efc5a
1 changed files with 12 additions and 1 deletions
|
@ -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 = {
|
|
||||||
|
services.nginx.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 ];
|
||||||
|
|
Loading…
Reference in a new issue