Update to 2022-02-18 11:00

This commit is contained in:
Daniel Berteaud
2022-02-18 11:00:07 +01:00
parent 966ca9f34f
commit f16c846ab4
4 changed files with 10 additions and 3 deletions

View File

@@ -37,3 +37,6 @@ gitea_db_name: gitea
gitea_db_user: gitea
# A random pass will be created if not set here
# gitea_db_pass: xxxxx
# List of allowed hosts for webhooks. Can be IP, CIDR, hosts, hosts with wildcards or the special values loopback, private, external, *
gitea_allowed_hosts: []

View File

@@ -104,3 +104,8 @@ SHOW_FOOTER_VERSION = false
[migrations]
ALLOW_LOCALNETWORKS = true
[webhook]
{% if gitea_allowed_hosts | length > 0 %}
ALLOWED_HOST_LIST = {{ gitea_allowed_hosts | join(',') }}
{% endif %}