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

	handle /api/tts/edge {
		reverse_proxy 127.0.0.1:8790
	}

	handle {
		try_files {path} /index.html
		file_server
	}
}
