O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing NGINX

The first thing we need to do before we can do anything else is install NGINX (https://www.nginx.com/). NGINX is an HTTP server, reverse proxy, and IMAP/POP3 proxy server. With NGINX, we can host our Node.js application using PM2 and use NGINX as a reverse proxy to make it available to our host Windows system. We can also run our .NET Core application using NGINX.

So, on your Linux VM, install NGINX:

sudo apt-get updatesudo apt-get install nginxsudo systemctl restart nginxsudo systemctl enable nginx

Then, install NGINX and make sure that it gets started on start up. I am going to do a fast-forward here; we are going to run PM2 on port 8889 internally and make it available on port 8888 externally. We are going to do the same ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required