]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update dockerdata/startup.py 12916/head
authorHoutworm <34796415+Houtworm@users.noreply.github.com>
Wed, 14 Jun 2023 08:09:15 +0000 (10:09 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2023 08:09:15 +0000 (10:09 +0200)
Co-authored-by: Remi Gacogne <github@coredump.fr>
dockerdata/startup.py

index 320ef8ddf8d20ce205de3b110d7e5457bca125c5..e84055151a60aafc861a552a06ef5c26a3c600f8 100755 (executable)
@@ -37,6 +37,7 @@ elif product == 'dnsdist':
     args = ['--supervised', '--disable-syslog']
     apienvvar = 'DNSDIST_API_KEY'
     apiconftemplate = """webserver("0.0.0.0:8083")
+    setWebserverConfig({password='{{ apikey }}', apiKey='{{ apikey }}', acl='0.0.0.0/0'})
 controlSocket('0.0.0.0:5199')
 setKey('{{ apikey }}')
 setConsoleACL('0.0.0.0/0')