<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Reverse proxy access]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I've been working on my setup for some time now, but finally I think the problem I ran into is solved.</p>
<p dir="auto">I have debian server which is providing web services for my team. Everything we need is running in separate docker container.</p>
<p dir="auto">In this environment we wanted to run XO as well. So I used one of available images to start work.<br />
(<a href="https://hub.docker.com/r/ezka77/xen-orchestra-ce" target="_blank" rel="noopener noreferrer nofollow ugc">https://hub.docker.com/r/ezka77/xen-orchestra-ce</a>) and everything worked fine.</p>
<p dir="auto">Xen Orchestra builded, started and I could connect to it using our nginx proxy docker as long as it had location <a href="http://myip/" target="_blank" rel="noopener noreferrer nofollow ugc">http://myip/</a> . When I wanted to move page to <a href="http://myip/xen" target="_blank" rel="noopener noreferrer nofollow ugc">http://myip/xen</a> I started to have troubles. Sigin page didn't want to load. It was redirected to <a href="http://myip/sigin" target="_blank" rel="noopener noreferrer nofollow ugc">http://myip/sigin</a> not <a href="http://myip/xen/signin" target="_blank" rel="noopener noreferrer nofollow ugc">http://myip/xen/signin</a> and nginx didn't redirected it to correct docker.</p>
<p dir="auto">I used niginx configuration from docs - <a href="https://xen-orchestra.com/docs/reverse_proxy.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://xen-orchestra.com/docs/reverse_proxy.html</a></p>
<p dir="auto">After some investigation I found solution to this problem, but I'm not familiar enough with nginx to be sure that this is the best way to resolve my problem.</p>
<p dir="auto">I changed one line in given config:<br />
<strong>proxy_redirect default;</strong><br />
to<br />
<strong>proxy_redirect / /xen/;</strong><br />
and now everything is working fine. When I connect to <a href="http://myip/xen" target="_blank" rel="noopener noreferrer nofollow ugc">http://myip/xen</a> browser is redirected to proper page <a href="http://myip/xen/sigin" target="_blank" rel="noopener noreferrer nofollow ugc">http://myip/xen/sigin</a>.</p>
<p dir="auto">I can't be sure that this isn't problem with my nginx docker as I'm pretty new in this topic. I think that it is worth being at least checked by more expirenced users both nginx and xen orchestra. Maybe example configuration in documentation should be updated if my problem is real not only for me.</p>
]]></description><link>https://xcp-ng.org/forum/topic/1244/reverse-proxy-access</link><generator>RSS for Node</generator><lastBuildDate>Fri, 08 May 2026 14:42:43 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/1244.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Apr 2019 21:36:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Reverse proxy access on Thu, 25 Apr 2019 08:39:15 GMT]]></title><description><![CDATA[<p dir="auto">I don't know what's the <code>/xen</code> path? Install via this docker isn't the official/documented way, so it's hard to assist.</p>
<p dir="auto">Please try to build it <a href="https://xen-orchestra.com/docs/from_the_sources.html" target="_blank" rel="noopener noreferrer nofollow ugc">according the doc</a> and double check if reverse work as documented too. Otherwise, it's an issue of the Docker you use with our doc, so you'll better time to create an issue on the 3rd party "installer".</p>
]]></description><link>https://xcp-ng.org/forum/post/11004</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/11004</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 25 Apr 2019 08:39:15 GMT</pubDate></item></channel></rss>