I think the problem lies within the command:
Because the command only runs the site locally, so it's not accessible across the network. You should try using the command:
yarn run <some_foldername>
(You can omit the <some_foldername> for the same result)
This will produce a folder with your app, ready to be served across the network,...
In short, I would say no, like you said you should simply change the paths to match yours.
My .conf file is quite poor compared to the one provided by the tutorial. What the tutorial .conf file does, it defines logging variables and other configurations, but the most imporant thing is handling your .cgi requests. This virtual host will now pretend to ...