diff --git a/uwsgi-python/templates/apps/protokollsystem.j2 b/uwsgi-python/templates/apps/protokollsystem.j2
index 63a9cbc91c232cbcaf2eef78f24ef23398d55ecd..e15d1591366d0efea747cdccf7da9dc351dc095e 100644
--- a/uwsgi-python/templates/apps/protokollsystem.j2
+++ b/uwsgi-python/templates/apps/protokollsystem.j2
@@ -39,6 +39,9 @@ URL_PARAMS = ""
 {% if cdn_url is defined %}
 CDN_URL = "{{cdn_url}}"
 {% endif %}
+{% if protokolle_metadata_domain_whitelist is defined %}
+PERMITTED_METADATA_DOMAINS = [ {% for domain in protokolle_metadata_domain_whitelist %} "{{domain}}", {% endfor %} ]
+{% endif %}
 
 PRINTING_ACTIVE = {{ protokolle_printing }}
 PRINTING_SERVER = "{{ protokolle_printing_server }}"