Caddy for komodo, not in use

This commit is contained in:
Chris Toph 2025-01-17 01:19:41 -05:00
parent 2e37285e54
commit a1ea7d26ea
2 changed files with 35 additions and 0 deletions

View file

@ -9,6 +9,7 @@
## MODULES & IMPORTS ## ## MODULES & IMPORTS ##
imports = [ imports = [
# Common Modules # Common Modules
# ../../common/acme
../../common/lxc ../../common/lxc
../../common/ssh ../../common/ssh
@ -16,6 +17,7 @@
./hardware.nix ./hardware.nix
# Local Modules # Local Modules
# ./modules/caddy
./modules/frp ./modules/frp
./modules/forgejo ./modules/forgejo
./modules/komodo ./modules/komodo

View file

@ -0,0 +1,33 @@
{
# FIXME: This works IN server but not connecting via ssh to caenus
services.caddy = {
enable = true;
virtualHosts = {
# "ryot.foo" = {
# useACMEHost = "ryot.foo";
# extraConfig = ''
# reverse_proxy 104.40.4.44:80
# '';
# };
"cloud.ryot.foo" = {
useACMEHost = "ryot.foo";
extraConfig = ''
reverse_proxy https://104.40.4.24:443 {
transport http {
tls_insecure_skip_verify
}
}
'';
};
"map.goldenlemon.cc" = {
useACMEHost = "goldenlemon.cc";
extraConfig = ''
reverse_proxy http://104.40.4.44:25566
'';
};
};
};
}