magpie/gitea: use unix socket for local connection
This commit is contained in:
parent
3f5747d8e0
commit
a9f02a8462
@ -194,7 +194,7 @@
|
|||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
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;
|
DISABLE_SSH = true;
|
||||||
HTTP_PORT = 3001;
|
HTTP_PORT = 3001;
|
||||||
LANDING_PAGE = "explore";
|
LANDING_PAGE = "explore";
|
||||||
|
PROTOCOL = "http+unix";
|
||||||
};
|
};
|
||||||
settings.mailer = {
|
settings.mailer = {
|
||||||
ENABLED = true;
|
ENABLED = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user