mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +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
|
|
@ -44,6 +44,24 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts = {
|
||||
"olat.noratrieb.dev" = {
|
||||
logFormat = "";
|
||||
extraConfig = ''
|
||||
encode zstd gzip
|
||||
reverse_proxy * localhost:5011
|
||||
'';
|
||||
};
|
||||
# unsure if necessary... something was misconfigured in the past here...
|
||||
"olat.noratrieb.dev:8088" = {
|
||||
logFormat = "";
|
||||
extraConfig = ''
|
||||
encode zstd gzip
|
||||
reverse_proxy * localhost:5011
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
services.custom-backup.jobs = [
|
||||
{
|
||||
app = "openolat-db";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue