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
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -296,8 +296,8 @@ The following configuration set `Content-Type: application/vnd.android.package-a
296
296
-`MINIMUM_KEY_SIZE_CHECK`: **true**: Indicate whether to check minimum key size with corresponding type.
297
297
298
298
-`OFFLINE_MODE`: **false**: Disables use of CDN for static files and Gravatar for profile pictures.
299
-
-`CERT_FILE`: **https/cert.pem**: Cert file path used for HTTPS. When chaining, the server certificate must come first, then intermediate CA certificates (if any). This is ignored if `ENABLE_ACME=true`. From 1.11 paths are relative to `CUSTOM_PATH`.
300
-
-`KEY_FILE`: **https/key.pem**: Key file path used for HTTPS. This is ignored if `ENABLE_ACME=true`. From 1.11 paths are relative to `CUSTOM_PATH`.
299
+
-`CERT_FILE`: **https/cert.pem**: Cert file path used for HTTPS. When chaining, the server certificate must come first, then intermediate CA certificates (if any). This is ignored if `ENABLE_ACME=true`. Paths are relative to `CUSTOM_PATH`.
300
+
-`KEY_FILE`: **https/key.pem**: Key file path used for HTTPS. This is ignored if `ENABLE_ACME=true`. Paths are relative to `CUSTOM_PATH`.
301
301
-`STATIC_ROOT_PATH`: **./**: Upper level of template and static files path.
302
302
-`APP_DATA_PATH`: **data** (**/data/gitea** on docker): Default path for application data.
303
303
-`STATIC_CACHE_TIME`: **6h**: Web browser cache time for static resources on `custom/`, `public/` and all uploaded avatars. Note that this cache is disabled when `RUN_MODE` is "dev".
@@ -438,11 +438,11 @@ Configuration at `[queue]` will set defaults for queues with overrides for indiv
438
438
-`MAX_ATTEMPTS`: **10**: Maximum number of attempts to create the wrapped queue
439
439
-`TIMEOUT`: **GRACEFUL_HAMMER_TIME + 30s**: Timeout the creation of the wrapped queue if it takes longer than this to create.
440
440
- Queues by default come with a dynamically scaling worker pool. The following settings configure this:
441
-
-`WORKERS`: **0** (v1.14 and before: **1**): Number of initial workers for the queue.
441
+
-`WORKERS`: **0**: Number of initial workers for the queue.
442
442
-`MAX_WORKERS`: **10**: Maximum number of worker go-routines for the queue.
443
443
-`BLOCK_TIMEOUT`: **1s**: If the queue blocks for this time, boost the number of workers - the `BLOCK_TIMEOUT` will then be doubled before boosting again whilst the boost is ongoing.
444
444
-`BOOST_TIMEOUT`: **5m**: Boost workers will timeout after this long.
445
-
-`BOOST_WORKERS`: **1** (v1.14 and before: **5**): This many workers will be added to the worker pool if there is a boost.
445
+
-`BOOST_WORKERS`: **1**: This many workers will be added to the worker pool if there is a boost.
446
446
447
447
Gitea creates the following non-unique queues:
448
448
@@ -634,7 +634,7 @@ Define allowed algorithms and their minimum key length (use -1 to disable a type
634
634
635
635
-`QUEUE_LENGTH`: **1000**: Hook task queue length. Use caution when editing this value.
636
636
-`DELIVER_TIMEOUT`: **5**: Delivery timeout (sec) for shooting webhooks.
637
-
-`ALLOWED_HOST_LIST`: **external**: Since 1.15.7. Default to `*` for 1.15.x, `external` for 1.16 and later. Webhook can only call allowed hosts for security reasons. Comma separated list.
637
+
-`ALLOWED_HOST_LIST`: **external**: Webhook can only call allowed hosts for security reasons. Comma separated list.
638
638
- Built-in networks:
639
639
-`loopback`: 127.0.0.0/8 for IPv4 and ::1/128 for IPv6, localhost is included.
640
640
-`private`: RFC 1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and RFC 4193 (FC00::/7). Also called LAN/Intranet.
@@ -649,6 +649,12 @@ Define allowed algorithms and their minimum key length (use -1 to disable a type
649
649
650
650
## Mailer (`mailer`)
651
651
652
+
⚠️ This section is for Gitea 1.18 and later. If you are using Gitea 1.17 or older,
-`ENABLED`: **false**: Enable to use a mail service.
653
659
-`PROTOCOL`: **\<empty\>**: Mail server protocol. One of "smtp", "smtps", "smtp+startls", "smtp+unix", "sendmail", "dummy". _Before 1.18, this was inferred from a combination of `MAILER_TYPE` and `IS_TLS_ENABLED`._
654
660
- SMTP family, if your provider does not explicitly say which protocol it uses but does provide a port, you can set SMTP_PORT instead and this will be inferred.
0 commit comments