1
0
Fork 0

nixbld: disable openhardware.hk

This commit is contained in:
Sebastien Bourdeauducq 2020-11-06 15:05:33 +08:00
parent 5322347cb2
commit 5ea921f80f
1 changed files with 0 additions and 33 deletions

View File

@ -442,9 +442,6 @@ in
"call.m-labs.hk"
"nmigen.org"
"www.nmigen.org"
"openhardware.hk"
"git.openhardware.hk"
];
};
};
@ -620,15 +617,6 @@ in
return 307 https://m-labs.hk/gateware/nmigen/;
'';
};
"git.openhardware.hk" = {
forceSSL = true;
useACMEHost = "nixbld.m-labs.hk";
locations."/".proxyPass = "http://127.0.0.1:3002";
extraConfig = ''
client_max_body_size 300M;
'';
};
};
};
services.uwsgi = {
@ -679,27 +667,6 @@ in
};
security.acme.certs."${config.mailserver.fqdn}".extraDomainNames = [ "mail.nmigen.org" ];
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;
settings = {
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