1 /* 2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 3 * 4 * SPDX-License-Identifier: MPL-2.0 5 * 6 * This Source Code Form is subject to the terms of the Mozilla Public 7 * License, v. 2.0. If a copy of the MPL was not distributed with this 8 * file, you can obtain one at https://mozilla.org/MPL/2.0/. 9 * 10 * See the COPYRIGHT file distributed with this work for additional 11 * information regarding copyright ownership. 12 */ 13 14 tls local-tls { 15 key-file "key.pem"; 16 cert-file "cert.pem"; 17 }; 18 19 http local-http-server { 20 endpoints { "/dns-query"; }; 21 listener-clients 100; 22 streams-per-connection 100; 23 }; 24 25 # duplicated HTTP configuration 26 http local-http-server { 27 endpoints { "/dns-query"; }; 28 listener-clients 100; 29 streams-per-connection 100; 30 }; 31 32 options { 33 listen-on { 10.53.0.1; }; 34 http-port 80; 35 https-port 443; 36 http-listener-clients 100; 37 http-streams-per-connection 100; 38 listen-on port 443 tls local-tls http local-http-server { 10.53.0.1; }; 39 listen-on port 8080 tls none http local-http-server { 10.53.0.1; }; 40 }; 41