Server: replace traefik with caddy
This commit is contained in:
parent
5001e70c14
commit
863840b2b1
6 changed files with 33 additions and 77 deletions
11
roles/server/caddy.nix
Normal file
11
roles/server/caddy.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{...}: {
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
(tailscale) {
|
||||
tls internal
|
||||
bind 100.73.96.48
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue