NodeJS (Linux): Change App/Doc Root Folder Warnings
Having for example "Document Root: /httpdocs" and "Application Root: /httpdocs/api" (where the NodeJS files are) actually works, only that the files in /httpdocs take precedence. So accessing for example "domain.com/api" from browser did not work as there's index.html in /httpdocs, but it works when tested with Postman.
So, I think the warning text can be changed accordingly.
I don't know what security implications does running both a website on /httpdocs and API on /httpdocs/api have, though.
Thank you for your input!
Unfortunately, we have to close your request, because over the years it has not become quite popular for further implementation.
Just found out that having Document Root on /httpdocs and App Root on /httpdocs/api exposes the source code to the public and therefore is a very bad idea. If anything, having Document Root on /httpdocs and App Root on let's say /nodejs still work.