AmerDwight commented on issue #10627:
URL: https://github.com/apache/apisix/issues/10627#issuecomment-1854891379

   Please refer the following settings:
   
   Route
   ```yml
   {
     "uri": "/proxy",
     "name": "proxy-t1-route",
     "plugins": {
       "proxy-rewrite": {
         "headers": {
           "Accept": "*/*",
           "Connection": "Keep-Alive",
           "Host": "outersite",
           "Proxy-Connection": "Keep-Alive"
         },
         "host": "outersite",
         "method": "GET",
         "uri": "/"
       }
     },
     "upstream_id": "491273801099641868",
     "status": 1
   }
   ```
   
   Upstream
   ```yml
   {
     "nodes": [
       {
         "host": "squid",  # proxy server
         "port": 3128,
         "weight": 1
       }
     ],
     "timeout": {
       "connect": 6,
       "send": 6,
       "read": 6
     },
     "type": "roundrobin",
     "scheme": "http",
     "pass_host": "pass",
     "name": "proxy-t1",
     "keepalive_pool": {
       "idle_timeout": 60,
       "requests": 1000,
       "size": 320
     }
   }
   ```
   


-- 
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