Check out example codes for "nginx linux". It will help you in understanding the concepts better.

Code Example 1

sudo apt update
sudo apt install nginx

Learn ReactJs, React Native from akashmittal.com