Browse Source

nixbld: disable openhardware.hk

pull/11/head
Sebastien Bourdeauducq 2 months ago
parent
commit
5ea921f80f
1 changed files with 0 additions and 33 deletions
  1. +0
    -33
      nixbld-etc-nixos/configuration.nix

+ 0
- 33
nixbld-etc-nixos/configuration.nix 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


Loading…
Cancel
Save