magpie/gitea: use unix socket for local connection
This commit is contained in:
parent
3f5747d8e0
commit
a9f02a8462
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user