Comment the original location block. It is no longer needed and it conflicts with the location that proxies the port 4000.
Comment the original location block. It is no longer needed and it conflicts with the location that proxies the port 4000.

julianespinel/configfiles