how to run node application on server without port | deploy node app with nginx| setup reverse proxy

Опубликовано: 15 Март 2025
на канале: GSoft Knowledge
557
4

Follow the steps shown in the video to access node application without port on nginx server.

1. Setup a Reverse Proxy: For re-visiting HTTP Requests to our internal Node.Js Server, we’ll use Nginx.
2. Install Node & NPM.
3. Install PM2 Node.Js Process Manager.
4. Configure reverse proxy and run a local server.

===========================
CODE i used-
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://localhost:3000/;
proxy_redirect http://localhost:3000/ https://$server_name/;
}
==============================================
FOR FASHION ACCESSORIES AND SHOES FOLLOW MY PAGE

👇 👇 👇 LINK TO INSTAGRAM PAGE 👇 👇 👇

Page Link:   / kicksniks_official  

PAGE NAME: kicksniks
FREE SHIPPING ALL OVER INDIA
Must follow my instagram page
---------------------------------------------------------

Dont forget to like, share and Subscribe.