HTTP Server. Implementing in C++ using Boost Library.
- create file in /etc/nginx/sites-available
upstream backend {
server localhost:8000;
server localhost:8001;
server localhost:8002;
}
server {
location / {
proxy_pass http://backend;
}
}
- create symlink in /etc/nginx/sites-enabled
- restart nginx
service nginx restart