You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
; List of keywords used in Pull Request comments to automatically reopen a related issue
104
-
REOPEN_KEYWORDS=reopen,reopens,reopened
104
+
REOPEN_KEYWORDS = reopen,reopens,reopened
105
105
; In the default merge message for squash commits include at most this many commits
106
-
DEFAULT_MERGE_MESSAGE_COMMITS_LIMIT=50
106
+
DEFAULT_MERGE_MESSAGE_COMMITS_LIMIT = 50
107
107
; In the default merge message for squash commits limit the size of the commit messages to this
108
-
DEFAULT_MERGE_MESSAGE_SIZE=5120
108
+
DEFAULT_MERGE_MESSAGE_SIZE = 5120
109
109
; In the default merge message for squash commits walk all commits to include all authors in the Co-authored-by otherwise just use those in the limited list
110
-
DEFAULT_MERGE_MESSAGE_ALL_AUTHORS=false
110
+
DEFAULT_MERGE_MESSAGE_ALL_AUTHORS = false
111
111
; In default merge messages limit the number of approvers listed as Reviewed-by: to this many
112
-
DEFAULT_MERGE_MESSAGE_MAX_APPROVERS=10
112
+
DEFAULT_MERGE_MESSAGE_MAX_APPROVERS = 10
113
113
; In default merge messages only include approvers who are official
; List of reasons why a Pull Request or Issue can be locked
118
-
LOCK_REASONS=Too heated,Off-topic,Resolved,Spam
118
+
LOCK_REASONS = Too heated,Off-topic,Resolved,Spam
119
119
120
120
[repository.release]
121
121
; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
@@ -133,7 +133,7 @@ SIGNING_KEY = default
133
133
SIGNING_NAME =
134
134
SIGNING_EMAIL =
135
135
; Sets the default trust model for repositories. Options are: collaborator, committer, collaboratorcommitter
136
-
DEFAULT_TRUST_MODEL=collaborator
136
+
DEFAULT_TRUST_MODEL = collaborator
137
137
; Determines when gitea should sign the initial commit when creating a repository
; OAuth2 authentication secret for access and refresh tokens, change this yourself to a unique string. CLI generate option is helpful in this case. https://docs.gitea.io/en-us/command-line/#generate
1126
-
JWT_SECRET=
1126
+
JWT_SECRET=
1127
1127
; Maximum length of oauth2 token/cookie stored on server
1128
-
MAX_TOKEN_LENGTH=32767
1128
+
MAX_TOKEN_LENGTH = 32767
1129
1129
1130
1130
[i18n]
1131
1131
LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,uk-UA,ja-JP,es-ES,pt-BR,pt-PT,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -240,7 +240,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
240
240
-`SSH_PORT`: **22**: SSH port displayed in clone URL.
241
241
-`SSH_LISTEN_HOST`: **0.0.0.0**: Listen address for the built-in SSH server.
242
242
-`SSH_LISTEN_PORT`: **%(SSH\_PORT)s**: Port for the built-in SSH server.
243
-
-`SSH_ROOT_PATH`: **~/.ssh**: Root path of SSH directory.
243
+
-`SSH_ROOT_PATH`: **~/.ssh**: Root path of SSH directory.
244
244
-`SSH_CREATE_AUTHORIZED_KEYS_FILE`: **true**: Gitea will create a authorized_keys file by default when it is not using the internal ssh server. If you intend to use the AuthorizedKeysCommand functionality then you should turn this off.
245
245
-`SSH_AUTHORIZED_KEYS_BACKUP`: **true**: Enable SSH Authorized Key Backup when rewriting all keys, default is true.
246
246
-`SSH_TRUSTED_USER_CA_KEYS`: **\<empty\>**: Specifies the public keys of certificate authorities that are trusted to sign user certificates for authentication. Multiple keys should be comma separated. E.g.`ssh-<algorithm> <key>` or `ssh-<algorithm> <key1>, ssh-<algorithm> <key2>`. For more information see `TrustedUserCAKeys` in the sshd config man pages. When empty no file will be created and `SSH_AUTHORIZED_PRINCIPALS_ALLOW` will default to `off`.
@@ -294,7 +294,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
294
294
-`USER`: **root**: Database username.
295
295
-`PASSWD`: **\<empty\>**: Database user password. Use \`your password\` or """your password""" for quoting if you use special characters in the password.
296
296
-`SCHEMA`: **\<empty\>**: For PostgreSQL only, schema to use if different from "public". The schema must exist beforehand,
297
-
the user must have creation privileges on it, and the user search path must be set to the look into the schema first
297
+
the user must have creation privileges on it, and the user search path must be set to the look into the schema first
298
298
(e.g. `ALTER USER user SET SEARCH_PATH = schema_name,"$user",public;`).
299
299
-`SSL_MODE`: **disable**: SSL/TLS encryption mode for connecting to the database. This option is only applied for PostgreSQL and MySQL.
300
300
- Valid values for MySQL:
@@ -318,7 +318,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
318
318
-`MAX_OPEN_CONNS`**0**: Database maximum open connections - default is 0, meaning there is no limit.
319
319
-`MAX_IDLE_CONNS`**2**: Max idle database connections on connnection pool, default is 2 - this will be capped to `MAX_OPEN_CONNS`.
320
320
-`CONN_MAX_LIFETIME`**0 or 3s**: Sets the maximum amount of time a DB connection may be reused - default is 0, meaning there is no limit (except on MySQL where it is 3s - see #6804 & #7071).
321
-
321
+
322
322
Please see #8540 & #8273 for further discussion of the appropriate values for `MAX_OPEN_CONNS`, `MAX_IDLE_CONNS` & `CONN_MAX_LIFETIME` and their
323
323
relation to port exhaustion.
324
324
@@ -465,7 +465,7 @@ relation to port exhaustion.
465
465
-`DEFAULT_ORG_VISIBILITY`: **public**: Set default visibility mode for organisations, either "public", "limited" or "private".
466
466
-`DEFAULT_ORG_MEMBER_VISIBLE`: **false** True will make the membership of the users visible when added to the organisation.
467
467
-`ALLOW_ONLY_EXTERNAL_REGISTRATION`: **false** Set to true to force registration only using third-party services.
468
-
-`NO_REPLY_ADDRESS`: **DOMAIN** Default value for the domain part of the user's email address in the git log if he has set KeepEmailPrivate to true.
468
+
-`NO_REPLY_ADDRESS`: **DOMAIN** Default value for the domain part of the user's email address in the git log if he has set KeepEmailPrivate to true.
469
469
The user's email will be replaced with a concatenation of the user name in lower case, "@" and NO_REPLY_ADDRESS.
@@ -493,7 +493,7 @@ Define allowed algorithms and their minimum key length (use -1 to disable a type
493
493
-`HELO_HOSTNAME`: **\<empty\>**: Custom hostname for HELO operation.
494
494
-`HOST`: **\<empty\>**: SMTP mail host address and port (example: smtp.gitea.io:587).
495
495
- Using opportunistic TLS via STARTTLS on port 587 is recommended per RFC 6409.
496
-
-`IS_TLS_ENABLED` : **false** : Forcibly use TLS to connect even if not on a default SMTPS port.
496
+
-`IS_TLS_ENABLED` : **false** : Forcibly use TLS to connect even if not on a default SMTPS port.
497
497
- Note, if the port ends with `465` SMTPS/SMTP over TLS will be used despite this setting.
498
498
- Otherwise if `IS_TLS_ENABLED=false` and the server supports `STARTTLS` this will be used. Thus if `STARTTLS` is preferred you should set `IS_TLS_ENABLED=false`.
499
499
-`FROM`: **\<empty\>**: Mail from address, RFC 5322. This can be just an email address, or
@@ -855,7 +855,7 @@ Task queue configuration has been moved to `queue.task`. However, the below conf
855
855
## LFS (`lfs`)
856
856
857
857
Storage configuration for lfs data. It will be derived from default `[storage]` or
858
-
`[storage.xxx]` when set `STORAGE_TYPE` to `xxx`. When derived, the default of `PATH`
858
+
`[storage.xxx]` when set `STORAGE_TYPE` to `xxx`. When derived, the default of `PATH`
859
859
is `data/lfs` and the default of `MINIO_BASE_PATH` is `lfs/`.
860
860
861
861
-`STORAGE_TYPE`: **local**: Storage type for lfs, `local` for local disk or `minio` for s3 compatible object storage service or other name defined with `[storage.xxx]`
0 commit comments