NodeJS FTP deploy on shared hosting with Plesk and cPanel

Configuring Apache .htaccess
Hello, I beginner in node.js server, on my virtual hosting I need to config .htaccess:
##Hosting sample file
SetEnv GHOST_NODE_VERSION_CHECK false
PassengerStartupFile app.js
PassengerResolveSymlinksInDocumentRoot on
Require all granted
PassengerAppType node
PassengerAppRoot /home/login/domains/example.com/public_html
Options -MultiViews

But if I can set only public_html in PassengerAppRoot string and can`t set /app folder, my web app is not safety?

Very useful, worked perfectly :slight_smile:

4 posts were split to a new topic: Remote database connections