/
usr
/
local
/
lib
/
node_modules
/
pm2
/
lib
/
templates
/
sample-apps
/
http-server
/
/usr/local/lib/node_modules/pm2/lib/templates/sample-apps/http-server
mkdir
upload
Name
Size
Mode
Actions
api.js
241
0644
edit
dl
rm
ecosystem.config.js
231
0644
edit
dl
rm
package.json
265
0644
edit
dl
rm
README.md
395
0644
edit
dl
rm
Edit:
/usr/local/lib/node_modules/pm2/lib/templates/sample-apps/http-server/README.md
(395B)
# Basic HTTP Server and Cluster mode In this boilerplate it will start an http server in cluster mode. You can check the content of the ecosystem.config.js on how to start mutliple instances of the same HTTP application in order to get the most from your working system. ## Via CLI Via CLI you can start any HTTP/TCP application in cluster mode with: ```bash $ pm2 start api.js -i max ```
Save
cmd:
run