feat: migrate drainage frontend to Vite
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
:80 {
|
||||
root * /srv
|
||||
encode zstd gzip
|
||||
|
||||
@runtimeConfig path /runtime-config.js
|
||||
header @runtimeConfig Cache-Control "no-store"
|
||||
|
||||
@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}
|
||||
|
||||
try_files {path} /index.html
|
||||
file_server
|
||||
}
|
||||
Reference in New Issue
Block a user