Gitea Correct Domain
parent
583492c778
commit
ad2ef22d8c
|
@ -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}
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue