When NGINX proxies a request, it:
To pass a request to an HTTP proxied server, the proxy_pass directive is specified inside a location.
location /some/path/ { proxy_pass http://www.example.com/link/; }
NOTE: The address of the proxied server is followed by a URI, /link/.
location ~ \.php { proxy_pass http://127.0.0.1:8000; }