magpie/gitea: use unix socket for local connection

This commit is contained in:
Asmir A 2024-12-03 16:02:53 +01:00
parent 3f5747d8e0
commit a9f02a8462
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -194,7 +194,7 @@
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:${toString config.services.gitea.settings.server.HTTP_PORT}";
proxyPass = "http://unix:${toString config.services.gitea.settings.server.HTTP_ADDR}";
};
};
@ -222,6 +222,7 @@
DISABLE_SSH = true;
HTTP_PORT = 3001;
LANDING_PAGE = "explore";
PROTOCOL = "http+unix";
};
settings.mailer = {
ENABLED = true;