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, ... }:
|
{ self, caddy-with-plugins, ... }:
|
||||||
{ modulesPath, ... }:
|
{ pkgs, modulesPath, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/virtualisation/lxc-container.nix")
|
(modulesPath + "/virtualisation/lxc-container.nix")
|
||||||
|
@ -8,7 +8,6 @@
|
||||||
../../users/erwin
|
../../users/erwin
|
||||||
./backup.nix
|
./backup.nix
|
||||||
./forgejo
|
./forgejo
|
||||||
./caddy.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
eboskma = {
|
eboskma = {
|
||||||
|
@ -16,6 +15,16 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
server = 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 = {
|
nix-common = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remote-builders = true;
|
remote-builders = true;
|
||||||
|
|
Loading…
Reference in a new issue