-
Notifications
You must be signed in to change notification settings - Fork 17
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
outboundHostname does not seem to have any effect #346
Comments
The problem with the stack you're using is that DFP, at the moment, does not support indexing of Instead using:
It should be:
The initial idea is that all requests for a service would go to the same service. Judging from your scenario, you have a service but only part of requests should go to it and others should be forwarded somewhere else (whatever |
Ahh ok, that would explain it. Yes, we are rewriting an existing system (actually 99% done, we are approaching go-live), and certain aspects have been deemed out-of-scope for us. But since the existing system...well... exists...we can't just 404 on those requests, we need to redirect them to a 3rd party that is now supplying those items. |
Indexing Please try it out and let me know if it works as you expected. |
@vfarcic thanks a million - I will do so as soon as possible, and report back :) |
outboundHostname does not seem to have an effect
Essentially, I am trying to configure DFP to redirect to an absolute URL for a specific
servicePath
.For example,
http://a-domain.com/a
routes to the backend as per normal, buthttp://a-domain.com/b
results in a redirect to (for example)https://www.google.com
As an added complication, the
serviceDomain
value in question is set to two domains, comma separated. This is just for convenience, since the configuration becomes significantly larger if I treat theservice
domains separately also. Also, I'm ASSUMING (without actual proof) that this is supported with indexed labels.A sample label configuration for a service could look like this (I am including items that may or not be relevant, just in case they ARE relevant:
Steps to reproduce the issue:
Describe the results you received:
DFP is successfully configured. The
servicePath
with value/
successfully routes to the backend for both domainsa.co.za
andb.co.za
.The
servicePath
with value/this-should-go-to-google
also routes to the backend service.Examination of generated haProxy config shows no trace of
https://www.google.com
.Describe the results you expected:
A request for
servicePath
/this-should-go-to-google
should result in the client being redirect tohttps://www.google.com
.(Assuming my understanding of
outboundHostname
is correct!)Additional information you deem important (e.g. issue happens only occasionally):
Additional environment details (AWS, VirtualBox, physical, etc.):
serviceDomain
does not seem to have any effect.The text was updated successfully, but these errors were encountered: