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/12/05 13:40:34 UTC

[GitHub] [apisix] kellyseeme opened a new issue, #8458: use proxy_rewrite change the hosts header

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

   ### Description
   
   <img width="469" alt="image" src="https://user-images.githubusercontent.com/535200/205650862-de6f4f41-89ec-4617-9f75-6e45ff9ce51d.png">
   i use the proxy_rewrite plugin to change the hosts header of the requests,but i find it not take effect,why?is the host header is not change?
   
   ### Environment
   
   - APISIX version (run `apisix version`):2.14.1
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - 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: notifications-unsubscribe@apisix.apache.org.apache.org

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


[GitHub] [apisix] kellyseeme commented on issue #8458: use proxy_rewrite change the hosts header

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

   tks for reply,i have use the host to change ,just for curious why change the host header is not work.


-- 
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] kellyseeme closed issue #8458: use proxy_rewrite change the hosts header

Posted by GitBox <gi...@apache.org>.
kellyseeme closed issue #8458: use proxy_rewrite change the hosts header
URL: https://github.com/apache/apisix/issues/8458


-- 
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] tokers commented on issue #8458: use proxy_rewrite change the hosts header

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

   Please read https://apisix.apache.org/docs/apisix/plugins/proxy-rewrite/ carefully.


-- 
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] mscb402 commented on issue #8458: use proxy_rewrite change the hosts header

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

   You can try this
   ```
   {
           "proxy-rewrite": {
               "host": "example.com"
           }
   }
   ```


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