mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-15 17:15:14 +01:00
convert caddy to nixos builtin
This commit is contained in:
parent
71b4ca1448
commit
33a7017375
18 changed files with 326 additions and 263 deletions
|
|
@ -43,6 +43,14 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."git.noratrieb.dev" = {
|
||||
logFormat = "";
|
||||
extraConfig = ''
|
||||
encode zstd gzip
|
||||
reverse_proxy * localhost:5015
|
||||
'';
|
||||
};
|
||||
|
||||
services.custom-backup.jobs = [{
|
||||
app = "forgejo";
|
||||
file = "/var/lib/forgejo/data/forgejo.db";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue