fix: align drainage frontend configuration

This commit is contained in:
2026-07-22 15:01:35 +08:00
parent 72850761ce
commit 0995172828
45 changed files with 853 additions and 339 deletions
+7 -4
View File
@@ -8,9 +8,12 @@
@immutableAssets path /assets/*
header @immutableAssets Cache-Control "public, max-age=31536000, immutable"
@tts path /api/tts/edge
reverse_proxy @tts {$TTS_API_INTERNAL_BASE_URL:http://127.0.0.1:8790}
handle /api/tts/edge {
reverse_proxy 127.0.0.1:8790
}
try_files {path} /index.html
file_server
handle {
try_files {path} /index.html
file_server
}
}