nixbld: disable openhardware.hk
This commit is contained in:
parent
5322347cb2
commit
5ea921f80f
@ -442,9 +442,6 @@ in
|
|||||||
"call.m-labs.hk"
|
"call.m-labs.hk"
|
||||||
"nmigen.org"
|
"nmigen.org"
|
||||||
"www.nmigen.org"
|
"www.nmigen.org"
|
||||||
|
|
||||||
"openhardware.hk"
|
|
||||||
"git.openhardware.hk"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -620,15 +617,6 @@ in
|
|||||||
return 307 https://m-labs.hk/gateware/nmigen/;
|
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 = {
|
services.uwsgi = {
|
||||||
@ -679,27 +667,6 @@ in
|
|||||||
};
|
};
|
||||||
security.acme.certs."${config.mailserver.fqdn}".extraDomainNames = [ "mail.nmigen.org" ];
|
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
|
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user