Add Caddy handler for static image assets

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-21 22:04:39 -06:00
parent 675009ca4f
commit 41f39f62a1
2 changed files with 6 additions and 1 deletions

View File

@@ -496,6 +496,11 @@ cat > "$CADDY_CONFIG" <<EOF_CADDY
file_server
}
handle /images/* {
root * $WEB_RUNTIME_DIR/photos
file_server
}
handle /auth/* {
root * $WEB_RUNTIME_DIR
try_files {path} {path}/index.html /auth/index.html