Compare commits
No commits in common. "29b289cabba4e55a590b775d20dcd8a25110674e" and "25bf425c7809bd3636f3e92ea62bf71a7cbcc359" have entirely different histories.
29b289cabb
...
25bf425c78
1 changed files with 12 additions and 14 deletions
|
@ -3,20 +3,18 @@
|
||||||
|
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts = {
|
configFile = pkgs.writeText "Caddyfile" ''
|
||||||
"https://git.huwe.mooo.com" = {
|
https://git.huwe.mooo.com {
|
||||||
extraConfig = "reverse_proxy localhost:3000";
|
reverse_proxy localhost:3000
|
||||||
};
|
}
|
||||||
"https://files.huwe.mooo.com" = {
|
|
||||||
extraConfig = ''
|
|
||||||
root * /var/www/file_server
|
|
||||||
file_server
|
|
||||||
|
|
||||||
'';
|
https://files.huwe.mooo.com {
|
||||||
};
|
reverse_proxy localhost:444
|
||||||
"https://cal.huwe.mooo.com" = {
|
}
|
||||||
extraConfig = "reverse_proxy localhost:5232";
|
|
||||||
};
|
https://cal.huwe.mooo.com {
|
||||||
};
|
reverse_proxy localhost:5232
|
||||||
|
}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue