Evie Litherland-Smith
a853475779
Move (hopefully) all reverse proxies to caddy Left off adguard for now, tbd if it needs outside access Moved service expressions up a level since it was a bit unneccesary before
24 lines
574 B
Nix
24 lines
574 B
Nix
{ ... }: {
|
|
imports = [ ./caddy.nix ];
|
|
services.gitea = {
|
|
enable = true;
|
|
settings = {
|
|
server = {
|
|
ROOT_URL = "https://git.xenia.me.uk";
|
|
DOMAIN = "git.xenia.me.uk";
|
|
HTTP_ADDR = "127.0.0.1";
|
|
HTTP_PORT = 3100;
|
|
DISABLE_SSH = true;
|
|
};
|
|
service.DISABLE_REGISTRATION = true;
|
|
ui = {
|
|
DEFAULT_THEME = "auto";
|
|
THEMES = "auto,gitea,arc-greenw";
|
|
};
|
|
};
|
|
appName = "Gitea";
|
|
};
|
|
services.caddy.virtualHosts."git.xenia.me.uk".extraConfig =
|
|
"reverse_proxy http://localhost:3100 ";
|
|
}
|