@marcel91200 / caddy Mirror · read-only
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 11, 01:00 UTC

master
caddyfiletest 35 lines 364 Bytes
Raw
1 {
2 metrics {
3 otlp
4 }
5 }
6 :80 {
7 respond "Hello"
8 }
9 ----------
10 {
11 "apps": {
12 "http": {
13 "servers": {
14 "srv0": {
15 "listen": [
16 ":80"
17 ],
18 "routes": [
19 {
20 "handle": [
21 {
22 "body": "Hello",
23 "handler": "static_response"
24 }
25 ]
26 }
27 ]
28 }
29 },
30 "metrics": {
31 "otlp": true
32 }
33 }
34 }
35 }