{ auto_https off } :{$PORT} { root * /srv handle /api/* { reverse_proxy {$URAPT_UPSTREAM} { header_up Host {upstream_hostport} } } handle /apt/* { reverse_proxy {$URAPT_UPSTREAM} { header_up Host {upstream_hostport} } } handle { try_files {path} /index.html file_server } }