Skip to content

Commit 199ff03

Browse files
gitea: default offline mode back to false as it makes setting other settings just complicated
1 parent 946efb7 commit 199ff03

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/gitea.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ in
104104
security.DISABLE_GIT_HOOKS = true;
105105
server = {
106106
ENABLE_GZIP = true;
107+
# The description of this setting is wrong and it doesn't control any CDN functionality but acts just as an override to the avatar federation.
108+
# see https://github.com/go-gitea/gitea/issues/31112
109+
OFFLINE_MODE = false;
107110
ROOT_URL = "https://${cfg.settings.server.DOMAIN}/";
108111
SSH_SERVER_CIPHERS = "chacha20-poly1305@openssh.com, aes256-gcm@openssh.com, aes128-gcm@openssh.com";
109112
SSH_SERVER_KEY_EXCHANGES = "curve25519-sha256@libssh.org, ecdh-sha2-nistp521, ecdh-sha2-nistp384, ecdh-sha2-nistp256, diffie-hellman-group14-sha1";

0 commit comments

Comments
 (0)