key = 'mykey.key',
}
-The format of both certificate and key is expected to be PEM, e.g. equivallent to
-the outputs of following:
+The format of both certificate and key is expected to be PEM, e.g. equivalent to
+the outputs of following:
.. code-block:: bash
"``/stats``", "Statistics/metrics", "Exported metrics in JSON."
"``/metrics``", "Prometheus metrics", "Exported metrics for Prometheus_"
"``/feed``", "Most frequent queries", "List of most frequent queries in JSON."
- "``/trace/:name/:type``", "Tracking", "Trace resolution of the query and return the verbose logs."
+ "``/trace/:name/:type``", "Tracking", "Trace resolution of the query and return the verbose logs."
Enabling Prometheus metrics endpoint
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. code-block:: bash
- $ curl http://localhost:8053/trace/e.root-servers.net
+ $ curl https://localhost:8053/trace/e.root-servers.net
[ 8138] [iter] 'e.root-servers.net.' type 'A' created outbound query, parent id 0
[ 8138] [ rc ] => rank: 020, lowest 020, e.root-servers.net. A
[ 8138] [ rc ] => satisfied from cache
.. code-block:: bash
- $ curl -k http://localhost:8053/health
+ $ curl -k https://localhost:8053/health
{"state":"up","uptime":0}
$ curl -k -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: localhost:8053/health" -H "Sec-Websocket-Key: nope" -H "Sec-Websocket-Version: 13" https://localhost:8053/health
HTTP/1.1 101 Switching Protocols