summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2021-11-08 11:25:41 +0800
committerGitHub <noreply@github.com>2021-11-08 11:25:41 +0800
commitd168f0498bfff3b251924804b6deafc267c5df65 (patch)
tree8b4a2c760d08d680410ae717541324eebf2ada95 /custom
parent9d97cf3a7150d3b5eca3f4214a8435fad7fef99c (diff)
downloadgitea-d168f0498bfff3b251924804b6deafc267c5df65.tar.gz
gitea-d168f0498bfff3b251924804b6deafc267c5df65.zip
Fix documents for ALLOWED_HOST_LIST, its default value differs between 1.15 and 1.16 (#17530)
* fix documents for ALLOWED_HOST_LIST, its default value differs between 1.15 and 1.16
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.example.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index eadc1c0d96..9643e396b6 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -1400,6 +1400,7 @@ PATH =
;; Built-in: loopback (for localhost), private (for LAN/intranet), external (for public hosts on internet), * (for all hosts)
;; CIDR list: 1.2.3.0/8, 2001:db8::/32
;; Wildcard hosts: *.mydomain.com, 192.168.100.*
+;; Since 1.15.7. Default to * for 1.15.x, external for 1.16 and later
;ALLOWED_HOST_LIST = external
;;
;; Allow insecure certification