-
Notifications
You must be signed in to change notification settings - Fork 619
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
Catch all redirect #451
base: master
Are you sure you want to change the base?
Catch all redirect #451
Conversation
This patch adds the option to redirect to the same host but maybe on a different path or scheme.
Hmm, not sure whether this creates a redirect loop. |
If we interpret that Otherwise we could keep the same
|
Sorry, just looked at the code ... there's not a new option it is just adding the pseudo var. So I think that you would get a redirect loop with a path |
Something like |
Agreed a host agnostic match with a port and path is exactly what you would want for this specific use case. |
How about #544 instead? |
a55de9d
to
04f958c
Compare
This patch adds the option to redirect to the same host but maybe on a different path or scheme.
For this
$host
can be used on the target URL, e.g.