Skip to content

nginx node js  #5

@Abhishek0943

Description

@Abhishek0943

in this tutorial you add a line "root : var/html/index.html "
but in nodeexpress tutorial how they know which file you want to target
like i have node server in /home/app/node_files
then run pm2 start entryfile or pm2 start ecosystem.config.cjs
how sites-avaliable know who is our index file or entry file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions