Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How modify Host header? #1154

Open
ta2013 opened this issue Nov 15, 2024 · 4 comments
Open

How modify Host header? #1154

ta2013 opened this issue Nov 15, 2024 · 4 comments
Assignees
Labels

Comments

@ta2013
Copy link

ta2013 commented Nov 15, 2024

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?

@FlorentinDUBOIS
Copy link
Collaborator

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.

@Wonshtrum
Copy link
Member

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.

@Wonshtrum
Copy link
Member

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!

@ta2013
Copy link
Author

ta2013 commented Dec 13, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants