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