projects
/
cinny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b8b0dc
)
add example caddyfile (#2227)
author
sophie
<zvava@disroot.org>
Fri, 28 Feb 2025 07:31:54 +0000
(07:31 +0000)
committer
GitHub
<noreply@github.com>
Fri, 28 Feb 2025 07:31:54 +0000
(18:31 +1100)
contrib/caddy/caddyfile
[new file with mode: 0644]
patch
|
blob
diff --git a/contrib/caddy/caddyfile
b/contrib/caddy/caddyfile
new file mode 100644
(file)
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
+}