add microbin to helix (create module)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
services.microbin.enable = true;
|
||||
services.microbin.hostname = "bin.sealight.xyz";
|
||||
services.microbin.port = 4949;
|
||||
networking.firewall.allowedTCPPorts = [ 4949 ];
|
||||
services.nginx.virtualHosts."bin.sealight.xyz" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
||||
locations."/" = {
|
||||
extraConfig = ''
|
||||
proxy_pass http://localhost:4949/;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user