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 2021/11/25 12:34:02 UTC

[GitHub] [apisix] jianhaiqing opened a new issue #5613: request help: how to construct this kind of route

jianhaiqing opened a new issue #5613:
URL: https://github.com/apache/apisix/issues/5613


   ### Issue description
   
   i want proxy what the client request, nginx conf look like,
   ```
   location / {
       proxy_pass "$scheme://$host$request_uri";
   }
   ```
   by the way, i would use plugin to insert header for each request, and user would set ip and domain into hosts file before issue a request. 
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] shuaijinchao commented on issue #5613: request help: how to construct this kind of route

Posted by GitBox <gi...@apache.org>.
shuaijinchao commented on issue #5613:
URL: https://github.com/apache/apisix/issues/5613#issuecomment-979583267


   APISIX's nginx configuration file is automatically generated based on `conf/config.yaml`, I think you can refer to the following two documents to deploy routing and rewrite request related information
   
   https://github.com/apache/apisix/blob/master/docs/en/latest/admin-api.md#route
   https://github.com/apache/apisix/blob/master/docs/en/latest/plugins/proxy-rewrite.md
   


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



[GitHub] [apisix] spacewander closed issue #5613: request help: how to construct this kind of route

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #5613:
URL: https://github.com/apache/apisix/issues/5613


   


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