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