nginx
Course: AWS Deploying (EC2) - chapter 7
https://www.nginx.com/resources/glossary/nginx/

What is a reverse proxy?
Section titled “What is a reverse proxy?”
Installing nginx
Section titled “Installing nginx”sudo apt updatesudo apt install nginxThis should start a nginx server on port 80
Try visiting the website

Create reverse proxy
Section titled “Create reverse proxy”sudo rm sudo vi /etc/nginx/nginx.confsudo vi /etc/nginx/nginx.confevents { # Event directives...}
http { server { listen 80; server_name be1.100xdevs.com;
location / { proxy_pass http://localhost:8080; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } }}sudo nginx -s reloadStart the Backend server
Section titled “Start the Backend server”node index.jsVisit the website
Section titled “Visit the website”https://be1.100xdevs.com/