Connect middleware for in nginx try_files style: serve local file if exists or proxy to address