Gitea Correct Domain

David Crompton 2023-10-26 13:07:56 -04:00
parent e9902fcb5f
commit ab368ed303
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ pkgs, config, ...}: let
# Domain TBD
domain = "git.kcnhub.syzygial.cc";
domain = "git.ws.kcnhub.com";
in {
services.gitea = {
enable = true;
@ -11,7 +11,7 @@ in {
settings = {
server = {
HTTP_PORT = 5000;
ROOT_URL = "https://git.${davesDomain}";
ROOT_URL = "https://${domain}";
};
actions = {
ENABLED = true;
@ -49,7 +49,7 @@ in {
};
services.caddy.virtualHosts = {
"${domain}" = {
extraConfig = ''
extraConfig = ''
reverse_proxy 127.0.0.1:${toString config.services.gitea.settings.server.HTTP_PORT}
'';
};