From 41a19cbf34b13d257c7da555ec071acf7194e582 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 1 Jul 2019 22:53:39 +0800 Subject: [PATCH] update stewart settings --- nixbld-etc-nixos/configuration.nix | 57 +++++++++++++++++++++--------- 1 file changed, 41 insertions(+), 16 deletions(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index c8715e8..7e21bcd 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -232,7 +232,11 @@ ACTION=="add", SUBSYSTEM=="tty", \ "www.fractalide.org" = null; "hydra.fractalide.org" = null; "git.fractalide.org" = null; - "luceo.fractalide.org" = null; + "vpn.fractalide.org" = null; + "luceo-mainnet-rest.fractalide.org" = null; + "luceo-mainnet-grpc.fractalide.org" = null; + "luceo-testnet-rest.fractalide.org" = null; + "luceo-testnet-grpc.fractalide.org" = null; }; }; }; @@ -321,31 +325,52 @@ ACTION=="add", SUBSYSTEM=="tty", \ ''; }; - "fractalide.org" = { - forceSSL = true; - useACMEHost = "nixbld.m-labs.hk"; - locations."/".proxyPass = "http://192.168.1.204:3003"; - }; - "www.fractalide.org" = { - forceSSL = true; - useACMEHost = "nixbld.m-labs.hk"; - locations."/".proxyPass = "http://192.168.1.204:3003"; - }; "hydra.fractalide.org" = { forceSSL = true; useACMEHost = "nixbld.m-labs.hk"; locations."/".proxyPass = "http://192.168.1.204:3000"; }; "git.fractalide.org" = { - forceSSL = true; - useACMEHost = "nixbld.m-labs.hk"; - locations."/".proxyPass = "http://192.168.1.204:3002"; - }; - "luceo.fractalide.org" = { forceSSL = true; useACMEHost = "nixbld.m-labs.hk"; locations."/".proxyPass = "http://192.168.1.204:3001"; }; + "fractalide.org" = { + forceSSL = true; + useACMEHost = "nixbld.m-labs.hk"; + locations."/".proxyPass = "http://192.168.1.204:3002"; + }; + "www.fractalide.org" = { + forceSSL = true; + useACMEHost = "nixbld.m-labs.hk"; + locations."/".proxyPass = "http://192.168.1.204:3002"; + }; + "vpn.fractalide.org" = { + forceSSL = true; + useACMEHost = "nixbld.m-labs.hk"; + locations."/".proxyPass = "http://192.168.1.204:3003"; + }; + "luceo-mainnet-rest.fractalide.org" = { + forceSSL = true; + useACMEHost = "nixbld.m-labs.hk"; + locations."/".proxyPass = "http://192.168.1.204:3004"; + }; + "luceo-mainnet-grpc.fractalide.org" = { + forceSSL = true; + useACMEHost = "nixbld.m-labs.hk"; + locations."/".proxyPass = "http://192.168.1.204:3005"; + }; + "luceo-testnet-rest.fractalide.org" = { + forceSSL = true; + useACMEHost = "nixbld.m-labs.hk"; + locations."/".proxyPass = "http://192.168.1.204:3006"; + }; + "luceo-testnet-grpc.fractalide.org" = { + forceSSL = true; + useACMEHost = "nixbld.m-labs.hk"; + locations."/".proxyPass = "http://192.168.1.204:3007"; + }; + }; }; services.uwsgi = {