# Place this in your public_html root if using cPanel Node.js App
# The Node.js App manager in cPanel handles the proxy automatically
# Just set Application URL and Application startup file (server.js)

Options -MultiViews
RewriteEngine On
RewriteRule ^$ http://127.0.0.1:3000/ [P,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ http://127.0.0.1:3000/$1 [P,L]
