Rework digest and asset_host config.

Signed-off-by: François de Metz <francois@stormz.me>