<div dir="ltr">Crane cannot perform a rewrite of the redirect URL at this time. This 
seems like a reasonable feature request. I recommend filing a story - we
 can discuss the feature details on there. </div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 13, 2017 at 11:29 AM, Mihai Ibanescu <span dir="ltr"><<a href="mailto:mihai.ibanescu@gmail.com" target="_blank">mihai.ibanescu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>In our current setup, we have a purely internal pulp deployment, that publishes to an NFS share.</div><div><br></div><div>HTTP frontend machines handle the cert-based authn/authz and serve the content from the NFS share.</div><div><br></div><div>We have an internal set of HTTP frontend machines, and an internal customer has access to published content for all development stages (dev/test/prod).<br><br>We also have an external set of HTTP frontend machines, that handle external customer requests, and only serve the prod stage. Content from the internal NFS share is selectively rsynced into the external disk share.</div><div><br></div><div>This all works great for rpm and such.</div><div><br></div><div>I believe there is a problem with docker. We would have one internal and one external crane deployment, as expected. Content would be rsynced, as usual. However, because the redirect URL is "baked" into the redirect json files, the external Crane would redirect to the internal system, which is not helpful.</div><div><br></div><div>We would prefer not to republish / recreate the redirect files in our transition from internal to external content.</div><div><br>One way to handle this would be a Crane configuration option that directs crane to rewrite the redirect URL. In that case, internal and external crane systems would be configured differently.</div><div><br></div><div>The questions:</div><div>* Is there such an option in Crane? (looking at the code, I believe the answer is no)</div><div>* Is there a feature request for something like this already?</div><div>* If not, do you agree what I've described above is a valid customer use case, and should I file it as a feature request?</div><div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div>Mihai</div></font></span></div>
<br>______________________________<wbr>_________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/pulp-dev</a><br>
<br></blockquote></div><br></div>