Compare commits

..

No commits in common. "c0c9af04d4e1e77cf50d38fc8af7af12ea22a6ea" and "dfe48379c55808f59dec89663f0e38bc0ef8dd52" have entirely different histories.

View File

@ -311,8 +311,15 @@ ACTION=="add", SUBSYSTEM=="tty", \
"hooks.m-labs.hk" = null; "hooks.m-labs.hk" = null;
"forum.m-labs.hk" = null; "forum.m-labs.hk" = null;
"openhardware.hk" = null; "fractalide.org" = null;
"git.openhardware.hk" = null; "www.fractalide.org" = null;
"hydra.fractalide.org" = null;
"git.fractalide.org" = null;
"puff.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;
}; };
}; };
}; };
@ -443,13 +450,50 @@ ACTION=="add", SUBSYSTEM=="tty", \
''; '';
}; };
"git.openhardware.hk" = { "hydra.fractalide.org" = {
forceSSL = true; forceSSL = true;
useACMEHost = "nixbld.m-labs.hk"; useACMEHost = "nixbld.m-labs.hk";
locations."/".proxyPass = "http://127.0.0.1:3002"; locations."/".proxyPass = "http://192.168.1.204:3000";
extraConfig = '' };
client_max_body_size 300M; "git.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";
};
"puff.fractalide.org" = {
forceSSL = true;
useACMEHost = "nixbld.m-labs.hk";
locations."/".proxyPass = "http://192.168.1.204:3008";
};
"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";
}; };
}; };
}; };
@ -501,27 +545,6 @@ ACTION=="add", SUBSYSTEM=="tty", \
"mail.nmigen.org" = null; "mail.nmigen.org" = null;
}; };
containers.openhardwarehk = {
autoStart = true;
config =
{ config, pkgs, ... }:
{
services.gitea = {
enable = true;
httpPort = 3002;
rootUrl = "https://git.openhardware.hk/";
appName = "Open Hardware HK";
cookieSecure = true;
disableRegistration = true;
extraConfig =
''
[attachment]
ALLOWED_TYPES = */*
'';
};
};
};
# This value determines the NixOS release with which your system is to be # This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database # compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you # servers. You should change this only after NixOS release notes say you