This commit is contained in:
Till 2026-01-14 15:22:06 +01:00
parent d564bd5d0f
commit 8632bab88f

View file

@ -13,7 +13,7 @@ in
"git.ktiu.net" "git.ktiu.net"
]; ];
services.nginx.virtualHosts."${srv.DOMAIN}" = { services.nginx.virtualHosts."git.ktiu.net" = {
onlySSL = true; onlySSL = true;
useACMEHost = config.networking.domain; useACMEHost = config.networking.domain;
locations."/".proxyPass = "http://localhost:${toString srv.HTTP_PORT}"; locations."/".proxyPass = "http://localhost:${toString srv.HTTP_PORT}";
@ -32,9 +32,9 @@ in
settings = { settings = {
server = { server = {
DOMAIN = "git.${config.networking.domain}"; # DOMAIN = "git.${config.networking.domain}";
# You need to specify this to remove the port from URLs in the web UI. # # You need to specify this to remove the port from URLs in the web UI.
ROOT_URL = "https://${srv.DOMAIN}/"; # ROOT_URL = "https://git.ktiu.net/";
HTTP_PORT = 3080; HTTP_PORT = 3080;
}; };