Compare commits
2 Commits
dfe48379c5
...
c0c9af04d4
Author | SHA1 | Date |
---|---|---|
Sebastien Bourdeauducq | c0c9af04d4 | |
Sebastien Bourdeauducq | a85a16ff73 |
|
@ -311,15 +311,8 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
|||
"hooks.m-labs.hk" = null;
|
||||
"forum.m-labs.hk" = null;
|
||||
|
||||
"fractalide.org" = 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;
|
||||
"openhardware.hk" = null;
|
||||
"git.openhardware.hk" = null;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -450,50 +443,13 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
|||
'';
|
||||
};
|
||||
|
||||
"hydra.fractalide.org" = {
|
||||
"git.openhardware.hk" = {
|
||||
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: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";
|
||||
locations."/".proxyPass = "http://127.0.0.1:3002";
|
||||
extraConfig = ''
|
||||
client_max_body_size 300M;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -545,6 +501,27 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
|||
"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
|
||||
# compatible, in order to avoid breaking some software such as database
|
||||
# servers. You should change this only after NixOS release notes say you
|
||||
|
|
Loading…
Reference in New Issue