aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorBrian Picciano <me@mediocregopher.com>2024-07-01 11:14:24 +0200
committerBrian Picciano <me@mediocregopher.com>2024-07-01 11:35:36 +0200
commit1a6d506a525e32bc374f89377e46a775c6737cf0 (patch)
treebcaf92072db1ec0358d9e1feeed9a8de7ce7c640 /example
parent931b4b8d3e61913778ed1bed002eb150171761ac (diff)
Got basic development environment set up
Diffstat (limited to 'example')
-rw-r--r--example/Caddyfile12
-rw-r--r--example/static/index.html11
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>