feature: configured caddy [deploy]
This commit is contained in:
parent
263f95e2b1
commit
fdd6fae02e
2 changed files with 20 additions and 2 deletions
|
|
@ -14,8 +14,25 @@ in
|
|||
self.nixosModules.default
|
||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||
];
|
||||
deploy = {
|
||||
enable = false;
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
git.skdevstudios.com {
|
||||
reverse_proxy forgejo.local:3000
|
||||
}
|
||||
tofu.skdevstudios.com {
|
||||
reverse_proxy tofu.local:9000
|
||||
}
|
||||
# :3306 {
|
||||
# reverse_proxy 10.173.91.154:3306
|
||||
# }
|
||||
# :3001 {
|
||||
# reverse_proxy 127.0.0.1:8889
|
||||
# }
|
||||
# :8096 {
|
||||
# reverse_proxy 10.173.91.220:8096
|
||||
# }
|
||||
'';
|
||||
};
|
||||
networking = {
|
||||
hostName = "caddy-tofu";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue