I'm using raspbian on a pi Zero to serve a simple static HTML page with an index.js and some styling.
I'm using the npm package http-server
I've installed it globally.
https://www.npmjs.com/package/http-server
In the terminal (using ssh), I've done http-server &
to put the process into the background. However, I notice that the access logs still appear in the terminal.
Is this the proper way of actually putting a web server into the background?
On same note, how would someone also put a node process into the bg? I've only ever worked with PaSS where this was handled or with APache where there were service start
commands.
Update..I'm doing this through SSH and so it is clearly not right way as process dies when I close my remote machine
Thanks!