sozu
sozu copied to clipboard
How modify Host header?
How can I modify the Host header ?
In Envoy, I am using:
route:
cluster: backend_service
host_rewrite_literal: "myurl.example.com"
What is the similar configuration in Sozu?
Hello 👋,
Glad to see that you are using Sōzu. To me, this feature is not configurable in Sōzu currently. you could not rewrite path or authority of a request.
This is similar to #1009. I would gladly work on a rewrite/redirect feature, but we must first define the scope and granularity to configure it.
Hi @ta2013, I am currently working on a URL rewriting feature and was wondering if a system like the one proposed in issue #1161 would meet your needs. Please let me know your thoughts!
Thanks for the response. I realized my initial query had an error with the upstream configuration. Apologies for the confusion. I'll reach out if I need further clarifications. Appreciate your help!