desk.local { redir /ws /ws/ redir /desk /desk/ handle /ws/* { reverse_proxy 127.0.0.1:3003 } handle /api/* { reverse_proxy 127.0.0.1:3003 } handle_path /desk/* { root * /code/desk2/client try_files {path} /index.html file_server } }