Skip to content

Commit

Permalink
load index when path does not exist (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey04 authored Jul 26, 2024
1 parent 83ac316 commit 8375f7f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions podman/frontend/etc/caddy/Caddyfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
:8080 {
encode zstd gzip

root * /data
file_server
handle /api* {
reverse_proxy backend:8000
}

reverse_proxy /api backend:8000
reverse_proxy /api/* backend:8000
handle {
root * /data

try_files {path} /index.html
file_server
}
}

0 comments on commit 8375f7f

Please sign in to comment.