diff options
author | Brian Picciano <me@mediocregopher.com> | 2024-07-01 11:14:24 +0200 |
---|---|---|
committer | Brian Picciano <me@mediocregopher.com> | 2024-07-01 11:35:36 +0200 |
commit | 1a6d506a525e32bc374f89377e46a775c6737cf0 (patch) | |
tree | bcaf92072db1ec0358d9e1feeed9a8de7ce7c640 /example | |
parent | 931b4b8d3e61913778ed1bed002eb150171761ac (diff) |
Got basic development environment set up
Diffstat (limited to 'example')
-rw-r--r-- | example/Caddyfile | 12 | ||||
-rw-r--r-- | example/static/index.html | 11 |
2 files changed, 23 insertions, 0 deletions
diff --git a/example/Caddyfile b/example/Caddyfile new file mode 100644 index 0000000..8f08483 --- /dev/null +++ b/example/Caddyfile @@ -0,0 +1,12 @@ +{ + debug + admin off + log { + level debug + } +} + +http://localhost:8000 { + root * ./examples/static + file_server +} diff --git a/example/static/index.html b/example/static/index.html new file mode 100644 index 0000000..db924d5 --- /dev/null +++ b/example/static/index.html @@ -0,0 +1,11 @@ +<html> + <head> + <title>Root Index</title> + </head> + <body> + <h1>Root Index</h1> + <p> + This is the root page of the example site. + </p> + </body> +</html> |