16 lines
318 B
Nix
16 lines
318 B
Nix
{ config, pkgs, ... }:
|
|
let
|
|
domain = "gagepaste.chicagotea.click";
|
|
in
|
|
{
|
|
services.microbin = {
|
|
enable = true;
|
|
settings = {
|
|
MICROBIN_PORT = 8001; #9457
|
|
MICROBIN_PUBLIC_PATH = "https://${domain}";
|
|
};
|
|
};
|
|
services.caddy.virtualHosts.${domain}.extraConfig = ''
|
|
reverse_proxy :3000
|
|
'';
|
|
}
|