: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
}
