aboutsummaryrefslogtreecommitdiff
path: root/Caddyfile
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2022-12-30 00:45:57 +0000
committerMartin Ashby <martin@ashbysoft.com>2022-12-30 00:45:57 +0000
commit671f850c4fb72941c111edb6dff1030839b0dd55 (patch)
treee2e066891c85aba3eff5bb76c8e0d81a658a2cb9 /Caddyfile
parent9be5acc275711d0a6a717ac5564a86185ec1d613 (diff)
downloadmfashby.net-671f850c4fb72941c111edb6dff1030839b0dd55.tar.gz
mfashby.net-671f850c4fb72941c111edb6dff1030839b0dd55.tar.bz2
mfashby.net-671f850c4fb72941c111edb6dff1030839b0dd55.tar.xz
mfashby.net-671f850c4fb72941c111edb6dff1030839b0dd55.zip
Comments are basically functional.
Added example config.
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Caddyfile b/Caddyfile
new file mode 100644
index 0000000..cef71f9
--- /dev/null
+++ b/Caddyfile
@@ -0,0 +1,6 @@
+http://localhost:8080 {
+ root * public
+ reverse_proxy /api/* localhost:5678
+ file_server
+}
+