disable lfs on gitea as it does seem to prevent startup
This commit is contained in:
parent
ee21c83e8d
commit
7cac19b742
1 changed files with 4 additions and 4 deletions
|
@ -39,7 +39,7 @@ in {
|
|||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:" + toString httpPort;
|
||||
proxyPass = "http://127.0.0.1:" + toString httpPort;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -84,9 +84,7 @@ in {
|
|||
imports =
|
||||
[ "${inputs.nixpkgs-stable}/nixos/modules/services/misc/gitea.nix" ];
|
||||
services.gitea = {
|
||||
inherit domain httpPort;
|
||||
enable = true;
|
||||
rootUrl = baseurl;
|
||||
stateDir = path;
|
||||
user = systemUserName;
|
||||
mailerPasswordFile = mailgunSmtpPasswordPath;
|
||||
|
@ -102,11 +100,13 @@ in {
|
|||
IS_INPUT_FILE = false;
|
||||
};
|
||||
server = {
|
||||
ROOT_URL = baseurl;
|
||||
DOMAIN = domain;
|
||||
START_SSH_SERVER = true;
|
||||
SSH_PORT = sshPort;
|
||||
HTTP_PORT = httpPort;
|
||||
SSH_LISTEN_PORT = sshPort;
|
||||
DISABLE_SSH = false;
|
||||
LFS_START_SERVER = true;
|
||||
};
|
||||
mailer = {
|
||||
ENABLED = true;
|
||||
|
|
Loading…
Reference in a new issue