From: sophie Date: Fri, 28 Feb 2025 07:31:54 +0000 (+0000) Subject: add example caddyfile (#2227) X-Git-Tag: v4.5.0~5 X-Git-Url: https://git.wafflesoft.org/?a=commitdiff_plain;h=dbadbe34b37920d2dad6d15fbbac1e6d77801046;p=rainny.git add example caddyfile (#2227) --- diff --git a/contrib/caddy/caddyfile b/contrib/caddy/caddyfile new file mode 100644 index 0000000..e55efe9 --- /dev/null +++ b/contrib/caddy/caddyfile @@ -0,0 +1,6 @@ +cinny.domain.tld { + @nativeRouter not file {path} / + rewrite @nativeRouter {http.matchers.file.relative} + root * /path/to/caddy/dist + file_server +}