events {}

http {
    server {
        listen      80;

        location /checker/ {
            proxy_pass http://polling:7998/checker/;
        }

        location /polling/ {
            proxy_pass http://polling:7998/polling/;
        }

        location / {
            proxy_pass http://web:8000/;
        }
    }
}