nareshnagamalle opened a new issue, #7844:
URL: https://github.com/apache/apisix/issues/7844

   ### Description
   
   Dear Sir/Madam,
   
   Sub: Route traffic through company proxy / firewall 
   
    I have deployed apisix 2.15.0. And followed the steps mentioned in 
https://apisix.apache.org/docs/apisix/2.14/getting-started/.
   The following i have done
   **step1:** 
   curl http://localhost:9080/apisix/admin/routes -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X POST -d '
   {
     "name": "Route to httpbin",
     "uris": ["/*"],
     "upstream": {
       "type": "roundrobin",
       "nodes": {
         "httpbin.org": 1
       }
     }
   }'
   After above step, the successfull expected output has come
   **step 2:**
   curl 'localhost:9080/anything?foo=bar&baz' -X POST -d '{ "hello": "world" }' 
-H 'Content-Type: application/json'
   
   After Step2, expected result has not come, it is showing the following 
message
   <html>
   <head><title>502 Bad Gateway</title></head>
   <body>
   <center><h1>502 Bad Gateway</h1></center>
   <hr><center>openresty</center>
   </body>
   </html>
   
   I have already enabled our company proxy details in .bashrc and profile.
   
   Please help to resolve the issue.
   
   I have already searched earlier issues and  found the same issue in the 
following url https://github.com/apache/apisix/issues/2280, **but there is no 
answer for this.**
   
   Kindly help tor resolve. Please let me know any other information required 
from my side
   
   Thanks & Regards,
   Naresh.N
   
   ### Environment
   
   2.15.0- APISIX version (run `apisix version`):
   Cent OS- Operating system (run `uname -a`):
   1.21.4.1- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   3.5.4- etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to