Update configuration templates

Add seperate backend for static content with cache-control header, and
api backend with CORS header