treewide: upstreaming changes
Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
This commit is contained in:
parent
d159232b37
commit
e4e1b03c7e
160 changed files with 3408 additions and 5474 deletions
55
s0mev1rtn0de-nix/services/caddy.nix
Normal file
55
s0mev1rtn0de-nix/services/caddy.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{pkgs, ...}: {
|
||||
services = {
|
||||
caddy = {
|
||||
enable = true;
|
||||
|
||||
package = pkgs.caddy.withPlugins {
|
||||
plugins = [
|
||||
"github.com/mholt/caddy-l4@v0.0.0-20250902102621-4a517a98d7fa"
|
||||
"github.com/caddy-dns/cloudflare@v0.2.1"
|
||||
];
|
||||
hash = "sha256-1/jRWotKCvx7QncjVSVGYXb2gAmIiokC/ZbCUelG5Rc=";
|
||||
};
|
||||
|
||||
globalConfig = ''
|
||||
debug
|
||||
email me@hand7s.org
|
||||
|
||||
acme_ca https://acme-v02.api.letsencrypt.org/directory
|
||||
|
||||
'';
|
||||
|
||||
# acme_ca https://api.zerossl.com/directory
|
||||
|
||||
virtualHosts = {
|
||||
"hand7s.org" = {
|
||||
extraConfig = ''
|
||||
|
||||
respond "hi! :D WIP btw"
|
||||
'';
|
||||
};
|
||||
|
||||
"git.hand7s.org" = {
|
||||
extraConfig = ''
|
||||
|
||||
reverse_proxy ${homeIP}:53350
|
||||
'';
|
||||
};
|
||||
|
||||
"bin.hand7s.org" = {
|
||||
extraConfig = ''
|
||||
|
||||
reverse_proxy ${homeIP}:80
|
||||
'';
|
||||
};
|
||||
|
||||
"zitadel.hand7s.org" = {
|
||||
extraConfig = ''
|
||||
|
||||
reverse_proxy ${homeIP}:8443
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue