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/01/23 12:56:03 UTC
[GitHub] [apisix] starsz commented on issue #6185: request help: Why proxy-rewrite.host must be configured when starting the proxy-rewrite plugin, otherwise it will be forwarded directly to 127.0.0.1 by default, even if upstream.nodes is configured?
starsz commented on issue #6185:
URL: https://github.com/apache/apisix/issues/6185#issuecomment-1019479636
Hi, @tiyorn
> proxy-rewrite.host must be configured
No, It's not necessary. It defines the Host head that sends to the upstream.
You can refer to the doc: https://apisix.apache.org/docs/apisix/plugins/proxy-rewrite
> otherwise it will be forwarded directly to 127.0.0.1 by default
I think the request is sent to the upstream `10.132.16.70`, and uses the `Host` head of `127.0.0.1:9098`, so the log will be that.
--
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