mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 11:35:41 +00:00
feat(vps): add caddy
- Enabled caddy service - Opened port 80, 443 for Caddy
This commit is contained in:
parent
cbe7b1204d
commit
24900346f9
3 changed files with 15 additions and 1 deletions
10
hosts/vps/modules/services/caddy.nix
Normal file
10
hosts/vps/modules/services/caddy.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
|
||||
# zipline
|
||||
virtualHosts."i.toast.name".extraConfig = ''
|
||||
reverse_proxy http://127.0.0.1:3000
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue