Nginx Reverse Proxy

Nginx is most popular web server which provide certain features like Load Balancing, Reverse proxy, FastCGI support and caching. but for now we are focusing on reverse proxy implementation.

Go to cd /etc/nginx/sites-enabled/

touch subdomain.thedevopsnetwork.com or websiteone

server {
    listen 80;
    server_name subdomain.thedevopsnetwork.com;

    location / {
        proxy_pass http://localhost:8001;
    }   
}

For testing using docker nginx container to route traffic inside container use this command

docker run -d -p 8001:80 nginx-alpine

bionic-beaver choco CI containerization create-react-app devops docker dockerize dockerize-react flask how-to-install how to install IAAC Infrastructure-provisioning jenkins microservices nginx node nvm pip3 python python-project python3 react simple-flask-app streaming ubuntu18.04 vod windows-automation windows-server