initial config with paste and git
This commit is contained in:
parent
6524349eee
commit
8c7c87968e
4 changed files with 114 additions and 0 deletions
16
o-paste.nix
Normal file
16
o-paste.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ 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
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue