aboutsummaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2022-06-19 03:23:06 +0800
committerGitHub <noreply@github.com>2022-06-18 15:23:06 -0400
commite4ceaf65fbf626a7ccb97c0ee5a0108ea143b584 (patch)
tree518de37f122fe85281d71815597deee0667cbf72 /custom
parent439ace607d23e91da4b39a389730ab8a01c4eb56 (diff)
downloadgitea-e4ceaf65fbf626a7ccb97c0ee5a0108ea143b584.tar.gz
gitea-e4ceaf65fbf626a7ccb97c0ee5a0108ea143b584.zip
Update document to clarify that ALLOWED_DOMAINS/BLOCKED_DOMAINS support wildcard (#20016)
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.example.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index 065c57ef51..8e5bfeac8e 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -2231,10 +2231,12 @@ PATH =
;;
;; Allowed domains for migrating, default is blank. Blank means everything will be allowed.
;; Multiple domains could be separated by commas.
+;; Wildcard is supported: "github.com, *.github.com"
;ALLOWED_DOMAINS =
;;
;; Blocklist for migrating, default is blank. Multiple domains could be separated by commas.
;; When ALLOWED_DOMAINS is not blank, this option has a higher priority to deny domains.
+;; Wildcard is supported.
;BLOCKED_DOMAINS =
;;
;; Allow private addresses defined by RFC 1918, RFC 1122, RFC 4632 and RFC 4291 (false by default)