Nginx forward proxy setting in Mac for Chrome

How to set forward proxy in Meteor.js application? Tried

http {

 :
 server {    
    listen       8080;

    location / {
        resolver 8.8.8.8;
        proxy_pass http://$http_host$uri$is_args$args;
    }

    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   html;
    }
  }

}

and then

$brew services start nginx

but when localhost:8080 not getting nginx page? Referenced this, but not

https://plonexp.leocorn.com/leocornus/leocornus.buildout.cfgrepo/xps33

successful so far