From 1a6d506a525e32bc374f89377e46a775c6737cf0 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Mon, 1 Jul 2024 11:14:24 +0200 Subject: Got basic development environment set up --- example/Caddyfile | 12 ++++++++++++ example/static/index.html | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 example/Caddyfile create mode 100644 example/static/index.html (limited to 'example') 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 @@ + + + Root Index + + +

Root Index

+

+ This is the root page of the example site. +

+ + -- cgit v1.2.3