<div dir="ltr"><div>Yes Pulp should operate under some path, and it does. The issue that some of the "live APIs" just can't be (docker, puppet, etc) because they have hard-coded url expectations. Those live APIs will be served via a viewset in core Pulp. So while Pulp can be rerooted, it can't serve some live APIs depending on how that rerooting is done.<br></div><div><br></div><div>So to allow as many live APIs as possible, the default Pulp deployment would be one that is rooted at /  Users can root Pulp other ways, but their live APIs may break. The core docs would just say that. In terms of how to deploy Pulp in a rooted way and still have the live APIs work, plugin writers and users would figure that out those configurations directly.</div><div><br></div><div>In cases where a plugin writer doesn't distribute their live API code as a separate package outside of Pulp, there isn't something the user, or Pulp core could do, to make a re-rooted Pulp install serving that live API work.<br></div><div><br></div><div>Thoughts, questions, alternatives, ideas?<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 6, 2017 at 9:43 AM, Jeremy Audet <span dir="ltr"><<a href="mailto:jaudet@redhat.com" target="_blank">jaudet@redhat.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"><div>+1 to requiring that Pulp be able to operate underneath some path. Well-behaved web application should support this. It's a common expectation, and we should live up to common expectations.<br><br></div>For a real world example of how to make an application behave well underneath a base path, see Syncthing's <a href="https://docs.syncthing.net/users/reverseproxy.html" target="_blank">Reverse Proxy Setup</a> documentation.<br></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>