gitea: Switch to caddy-proxy module
This commit is contained in:
parent
b232f0a2c8
commit
29627df807
1 changed files with 12 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
{ self, ... }:
|
||||
{ modulesPath, ... }:
|
||||
{ self, caddy-with-plugins, ... }:
|
||||
{ pkgs, modulesPath, ... }:
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/virtualisation/lxc-container.nix")
|
||||
|
@ -8,7 +8,6 @@
|
|||
../../users/erwin
|
||||
./backup.nix
|
||||
./forgejo
|
||||
./caddy.nix
|
||||
];
|
||||
|
||||
eboskma = {
|
||||
|
@ -16,6 +15,16 @@
|
|||
enable = true;
|
||||
server = true;
|
||||
};
|
||||
caddy-proxy = {
|
||||
enable = true;
|
||||
package = caddy-with-plugins.packages.${pkgs.system}.caddy-with-cloudflare;
|
||||
proxyHosts = [
|
||||
{
|
||||
externalHostname = "git.datarift.nl";
|
||||
proxyAddress = "localhost:3000";
|
||||
}
|
||||
];
|
||||
};
|
||||
nix-common = {
|
||||
enable = true;
|
||||
remote-builders = true;
|
||||
|
|
Loading…
Reference in a new issue