Hello
I need to know how to put a system made in Node Js - Express / Quasar into production.
In .htaccess
DirectoryIndex “”
RewriteEngine On
RewriteCond %{REQUEST_URI} ^./index.
RewriteRule ^(.)$ http://127.0.0.1:xxxx/ [P,L]
RewriteRule ^$ http://127.0.0.1:xxxx/ [P,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.)$ http://127.0.0.1:xxxx/$1 [P,L]
What port should be used in xxxx?
From the directory
nodejs-express-api
I execute
nohup node app.js &
Does it launch like that?
I’m not sure which ports to use. Do I have to change port 8060 to 3000?
Is there any tutorial?
Thanks