You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/09/07 14:23:07 UTC

[GitHub] [apisix] zar3bski commented on issue #7882: help request: remove the path from the call to the upstream service

zar3bski commented on issue #7882:
URL: https://github.com/apache/apisix/issues/7882#issuecomment-1239460564

   quite simple, actually
   
   ```json
   {
     "uri": "/elastic/*",
     "name": "elastic",
     "methods": [
       "GET",
       "POST",
       "PUT",
       "DELETE",
       "PATCH",
       "HEAD",
       "OPTIONS",
       "CONNECT",
       "TRACE"
     ],
     "plugins": {
       "proxy-rewrite": {
         "uri": "/"
       }
     },
     "upstream": {
       "nodes": [
         {
           "host": "elasticsearch-es-internal-http.default.svc",
           "port": 9200,
           "weight": 1
         }
       ],
       "timeout": {
         "connect": 6,
         "send": 6,
         "read": 6
       },
       "type": "roundrobin",
       "scheme": "https",
       "pass_host": "pass",
       "keepalive_pool": {
         "idle_timeout": 60,
         "requests": 1000,
         "size": 320
       }
     },
     "status": 1
   }
   ```


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org