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";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"arma-reforger-tofu": "201:d105:e4c4:3a59:f0b8:9867:49f6:597c",
|
||||
"base-tofu": "200:9685:b84:5b8e:2179:f171:cef9:a415",
|
||||
"caddy-tofu": "200:5fe8:7cf4:ea67:dcd8:6237:8382:5e97",
|
||||
"forgejo-runner-tofu": "201:ea26:66c7:657b:3599:63a6:c66c:d388",
|
||||
"link-warden-tofu": "200:7e25:554c:6df3:2c5:2de:6f9f:a96d",
|
||||
"medchart-tofu": "200:67d4:8493:35c9:ac0f:ec86:c3ea:9b11",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue