summarylogtreecommitdiffstats
path: root/app_new.ini
diff options
context:
space:
mode:
Diffstat (limited to 'app_new.ini')
-rw-r--r--app_new.ini18
1 files changed, 17 insertions, 1 deletions
diff --git a/app_new.ini b/app_new.ini
index 5dc079412e8c..4d7cb553180a 100644
--- a/app_new.ini
+++ b/app_new.ini
@@ -11,7 +11,11 @@ RUN_MODE = dev
[repository]
ROOT = /srv/gogs/repo
SCRIPT_TYPE = bash
-; Patch test queue length, make it as large as possible.
+; Default ANSI charset
+ANSI_CHARSET =
+; Force every new repository to be private
+FORCE_PRIVATE = false
+; Patch test queue length, make it as large as possible
PULL_REQUEST_QUEUE_LENGTH = 10000
[ui]
@@ -44,6 +48,8 @@ HTTP_ADDR =
HTTP_PORT = 3000
; Disable SSH feature when not available
DISABLE_SSH = false
+; Whether use builtin SSH server or not.
+START_SSH_SERVER = false
SSH_PORT = 22
; Disable CDN even in "prod" mode
OFFLINE_MODE = false
@@ -112,6 +118,16 @@ DISABLE_MINIMUM_KEY_SIZE_CHECK = false
; Enable captcha validation for registration
ENABLE_CAPTCHA = true
+; used to filter keys which are too short
+[service.minimum_key_sizes]
+ED25519 = 256
+ECDSA = 256
+NTRU = 1087
+MCE = 1702
+McE = 1702
+RSA = 1024
+DSA = 1024
+
[webhook]
; Hook task queue length
QUEUE_LENGTH = 1000