/http-server

HTTP Server. Implementing in C++ using Boost Library.

Primary LanguageC++GNU General Public License v2.0GPL-2.0

http-server

HTTP Server. Implementing in C++ using Boost Library.

load balancer setup

  1. create file in /etc/nginx/sites-available
upstream backend  {
  server localhost:8000;
  server localhost:8001;
  server localhost:8002;
}

server {
  location / {
    proxy_pass  http://backend;
  }
}
  1. create symlink in /etc/nginx/sites-enabled
  2. restart nginx
service nginx restart