aboutsummaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorwxiaoguang2022-08-11 01:37:15 +0800
committerGitHub2022-08-10 13:37:15 -0400
commit3d76d6034e293def68a0adcf5a68b3398c4ad12a (patch)
tree012a075b0c3fb502306ac9eca0bf28a134a0612f /custom
parent802c5313e1124ee21a082657f6d028a26624862b (diff)
Update docs for versions (#20750)
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.example.ini9
1 files changed, 7 insertions, 2 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index ab2289995..dd4d5a4cb 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -1503,6 +1503,11 @@ ROUTER = console
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
+;; NOTICE: this section is for Gitea 1.18 and later. If you are using Gitea 1.17 or older,
+;; please refer to
+;; https://github.com/go-gitea/gitea/blob/release/v1.17/custom/conf/app.example.ini
+;; https://github.com/go-gitea/gitea/blob/release/v1.17/docs/content/doc/advanced/config-cheat-sheet.en-us.md
+;;
;ENABLED = false
;;
;; Buffer length of channel, keep it as it is if you don't know what it is.
@@ -1516,12 +1521,12 @@ ROUTER = console
;; - dummy: send email messages to the log as a testing phase.
;; 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.
-;; (Before 1.18, this was controlled via MAILER_TYPE and IS_TLS_ENABLED.)
+;; (Before 1.18, see the notice, this was controlled via MAILER_TYPE and IS_TLS_ENABLED.)
;PROTOCOL =
;;
;; Mail server address, e.g. smtp.gmail.com.
;; For smtp+unix, this should be a path to a unix socket instead.
-;; (Before 1.18, this was combined with SMTP_PORT as HOST.)
+;; (Before 1.18, see the notice, this was combined with SMTP_PORT as HOST.)
;SMTP_ADDR =
;;
;; Mail server port. Common ports are: