Curl: Bypass proxy for localhost
try below, to bypass proxy service for local ips
export no_proxy=localhost,127.0.0.1
After
curl -v --noproxy localhost, http://localhost/muestra
curl responded with
About to connect() to localhost port 80 (#0)
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 80 (#0)
So it clearly stated that it connected to localhost.