mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-03-11 21:50:02 +01:00
add example caddyfile (#2227)
This commit is contained in:
parent
2b8b0dcffd
commit
dbadbe34b3
1 changed files with 6 additions and 0 deletions
6
contrib/caddy/caddyfile
Normal file
6
contrib/caddy/caddyfile
Normal file
|
@ -0,0 +1,6 @@
|
|||
cinny.domain.tld {
|
||||
@nativeRouter not file {path} /
|
||||
rewrite @nativeRouter {http.matchers.file.relative}
|
||||
root * /path/to/caddy/dist
|
||||
file_server
|
||||
}
|
Loading…
Reference in a new issue