Allow furter Traefik middlewares #3122
Signum
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
|
This would be amazing |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I would like Traefik to change an header in the HTTP request before it gets passed to the container.
Traefik provides the "headers" middleware to accomplish that.
I am using a Docker-Compose deployment with Coolify v4.0.0-beta.323
That middleware is visible in the "Deployable Compose". But it is not used by the Traefik router that Coolify creates:
You can see that it only adds "gzip" but I would need "gzip,add-my-header".
I dug into Coolify's source code at bootstrap/helpers/docker.php and found that Coolify has code to handle "redirect" and "basicauth" middlewares. But it will ignore further middlewares.
Is there a possible workaround?
(Use case: I want to run a Wordpress staging site on Coolify. Wordpress must believe that the "Host:" header is the FQDN of the actual site. But I make it available under a different FQDN externally.)
All reactions