diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-02-22 11:40:23 +0800 |
---|---|---|
committer | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-02-22 11:40:23 +0800 |
commit | 5282699f19ef62854bf842055eec1b800d2b86be (patch) | |
tree | 382f929967e8ace6e04d61dcd031a1f1333f2ac5 /conf/app.ini | |
parent | 648d9e253c1924b832248f26fee42b2fb64dc3bc (diff) |
admin/config: show all server and SSH options
Diffstat (limited to 'conf/app.ini')
-rw-r--r-- | conf/app.ini | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/conf/app.ini b/conf/app.ini index 03ef20da..036e2d28 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -40,6 +40,21 @@ UNIX_SOCKET_PERMISSION = 666 ; Alter it only if your SSH server node is not the same as HTTP node. LOCAL_ROOT_URL = %(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/ +; Whether to disable using CDN for static files regardless. +OFFLINE_MODE = false +; Whether to disable logging in router. +DISABLE_ROUTER_LOG = true +; Whether to enable application level GZIP compression. +ENABLE_GZIP = false + +; The path for storing application specific data. +APP_DATA_PATH = data +; Whether to enable to load assets (i.e. "conf", "templates", "public") from disk instead of embedded bindata. +LOAD_ASSETS_FROM_DISK = false + +; The landing page URL for anonymous users, can be a link to a external site. +LANDING_URL = / + ; Whether to disable SSH access to the application entirely. DISABLE_SSH = false ; The domain name to be exposed in SSH clone URL. @@ -53,6 +68,10 @@ SSH_KEYGEN_PATH = ssh-keygen ; The directory to create temporary files when test a public key using ssh-keygen, ; default is the system temporary directory. SSH_KEY_TEST_PATH = +; Whether to check minimum public key size with corresponding type. +MINIMUM_KEY_SIZE_CHECK = false +; Whether to rewrite "~/.ssh/authorized_keys" file at start, ignored when use builtin SSH server. +REWRITE_AUTHORIZED_KEYS_AT_START = false ; Whether to start a builtin SSH server. START_SSH_SERVER = false ; The network interface for builtin SSH server to listen on. @@ -61,25 +80,6 @@ SSH_LISTEN_HOST = 0.0.0.0 SSH_LISTEN_PORT = %(SSH_PORT)s ; The list of accepted ciphers for connections to builtin SSH server. SSH_SERVER_CIPHERS = aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, arcfour256, arcfour128 -; Whether to check minimum public key size with corresponding type. -MINIMUM_KEY_SIZE_CHECK = false -; Whether to rewrite "~/.ssh/authorized_keys" file at start, ignored when use builtin SSH server. -REWRITE_AUTHORIZED_KEYS_AT_START = false - -; Whether to disable using CDN for static files regardless. -OFFLINE_MODE = false -; Whether to disable logging in router. -DISABLE_ROUTER_LOG = true -; Whether to enable application level GZIP compression. -ENABLE_GZIP = false - -; The path for storing application specific data. -APP_DATA_PATH = data -; Whether to enable to load assets (i.e. "conf", "templates", "public") from disk instead of embedded bindata. -LOAD_ASSETS_FROM_DISK = false - -; The landing page URL for anonymous users, can be a link to a external site. -LANDING_URL = / ; Define allowed algorithms and their minimum key length (use -1 to disable a type). [ssh.minimum_key_sizes] |