<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CMIS behind a reverse-proxy? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317143#M4144</link>
    <description>&lt;P&gt;I believe the OpenCMIS 0.7.0 release includes the fix for CMIS-500, namely a new ProxyFilter that "can be used where the combination of the correct Apache reverse proxy config and Tomcat RemoteIpValve is not possible (no Apache reverse proxy, No Apache Tomcat)." It is not clear when Nuxeo will upgrade to this OpenCMIS release. Nevertheless, the next Nuxeo release is expected to be based on Tomcat 6.0.35 that includes RemoteIpValve. If you are using the Nuxeo Tomcat distribution, RemoteIpValve should be sufficient to solve this issue.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Apr 2012 15:34:41 GMT</pubDate>
    <dc:creator>ron_1</dc:creator>
    <dc:date>2012-04-13T15:34:41Z</dc:date>
    <item>
      <title>CMIS behind a reverse-proxy?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317138#M4139</link>
      <description>&lt;P&gt;I'm currently trying to connect CMIS Explorer (Android app) to Nuxeo DM 5.5. In my current setup, Nuxeo runs behind an SSO solution called LemonLDAP, acting as a reverse proxy. The SSO part works well - through mod_sso. The publicly accessible URL uses HTTPS. There's no service listening on plain HTTP.&lt;/P&gt;
&lt;P&gt;In order to CMIS clients to connect, I asked my SSO proxy to do just plain reverse-proxying (no authentication or redirection of any kind) on ^/nuxeo/atom/cmis.*. I also asked Nuxeo to stop using FORM_AUTH or PROXY_AUTH on such URLs, by adding a custom contribution. This part works well : curl -k "https://my.public.host/nuxeo/atom/cmis" answers with a bit of application/atomsvc+xml.&lt;/P&gt;
&lt;P&gt;But clients still don't work, and I read what's in the "atomsvc+xml". And there I found numerous URLs starting with &lt;A href="http://my.public.host/" target="test_blank"&gt;http://my.public.host/&lt;/A&gt;. There's clearly no way it's going to work without https, but how could I explain Nuxeo not to publish plain HTTP URLs?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2012 11:04:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317138#M4139</guid>
      <dc:creator>OlivierM_</dc:creator>
      <dc:date>2012-03-15T11:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS behind a reverse-proxy?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317139#M4140</link>
      <description>&lt;P&gt;Just to skip the most obvious answers&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2012 11:33:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317139#M4140</guid>
      <dc:creator>OlivierM_</dc:creator>
      <dc:date>2012-03-15T11:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS behind a reverse-proxy?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317140#M4141</link>
      <description>&lt;P&gt;Please use answers for answers and comment for comment. This is important for the community.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2012 12:24:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317140#M4141</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-03-15T12:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS behind a reverse-proxy?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317141#M4142</link>
      <description>&lt;P&gt;The Nuxeo CMIS connector, based on OpenCMIS, doesn't take into account the &lt;CODE&gt;Nuxeo-Virtual-Host&lt;/CODE&gt; header for URL generation.&lt;/P&gt;
&lt;P&gt;There's an OpenCMIS ticket (&lt;A href="https://issues.apache.org/jira/browse/CMIS-500"&gt;CMIS-500&lt;/A&gt;) about properly taking into account the &lt;CODE&gt;X-Forwarded-Host&lt;/CODE&gt; and &lt;CODE&gt;X-Forwarded-Proto&lt;/CODE&gt; headers which the proxy should send, which will provide a fix for these headers in the next Nuxeo version.&lt;/P&gt;
&lt;P&gt;You may also try to use standard Tomcat &lt;CODE&gt;proxyName&lt;/CODE&gt; and &lt;CODE&gt;proxyPort&lt;/CODE&gt; configuration parameters in &lt;CODE&gt;server.xml&lt;/CODE&gt;, but I'm not sure if they will provide you correctly with &lt;CODE&gt;https&lt;/CODE&gt; URLs. This has to be tried. See &lt;A href="http://tomcat.apache.org/tomcat-6.0-doc/proxy-howto.html"&gt;the Tomcat Proxy Support documentation&lt;/A&gt; for more. Please tell us if this works for you.&lt;/P&gt;
&lt;P&gt;Finally something that I think will always work is the &lt;A href="http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/valves/RemoteIpValve.html"&gt;Tomcat RemoteIpValve&lt;/A&gt; that you can add to your &lt;CODE&gt;server.xml&lt;/CODE&gt;, see &lt;A href="https://issues.apache.org/jira/browse/CMIS-500?focusedCommentId=13204733&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13204733"&gt;this comment&lt;/A&gt; of CMIS-500 for details on how to use it for CMIS (use a Nuxeo-appropriate &lt;CODE&gt;&amp;lt;Location&amp;gt;&lt;/CODE&gt; of course).&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2012 15:25:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317141#M4142</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-03-15T15:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS behind a reverse-proxy?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317142#M4143</link>
      <description>&lt;P&gt;It is a shame that CMIS-500 has been closed without any resolution. Think I might just apply the XForwardedHeaders patch for out set-up.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2012 10:38:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317142#M4143</guid>
      <dc:creator>seanradford</dc:creator>
      <dc:date>2012-04-13T10:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS behind a reverse-proxy?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317143#M4144</link>
      <description>&lt;P&gt;I believe the OpenCMIS 0.7.0 release includes the fix for CMIS-500, namely a new ProxyFilter that "can be used where the combination of the correct Apache reverse proxy config and Tomcat RemoteIpValve is not possible (no Apache reverse proxy, No Apache Tomcat)." It is not clear when Nuxeo will upgrade to this OpenCMIS release. Nevertheless, the next Nuxeo release is expected to be based on Tomcat 6.0.35 that includes RemoteIpValve. If you are using the Nuxeo Tomcat distribution, RemoteIpValve should be sufficient to solve this issue.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2012 15:34:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317143#M4144</guid>
      <dc:creator>ron_1</dc:creator>
      <dc:date>2012-04-13T15:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS behind a reverse-proxy?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317144#M4145</link>
      <description>&lt;P&gt;Nuxeo 5.6-SNAPSHOT will be upgraded to OpenCMIS 0.7.0 once it's released (which is soon).&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 01:49:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317144#M4145</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-04-16T01:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS behind a reverse-proxy?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317145#M4146</link>
      <description>&lt;P&gt;And btw current Nuxeo 5.6-SNAPSHOT is already using Tomcat 6.0.35.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 01:50:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317145#M4146</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-04-16T01:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS behind a reverse-proxy?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317146#M4147</link>
      <description>&lt;P&gt;Would be great if the [Nuxeo reverse proxy documentation][1] was updated to describe the recommended Nuxeo CMIS reverse proxy configuration. This is especially true since this topic appears to be a popular one based on the number of views.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2012 04:48:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317146#M4147</guid>
      <dc:creator>ron_1</dc:creator>
      <dc:date>2012-10-14T04:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS behind a reverse-proxy?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317147#M4148</link>
      <description>&lt;P&gt;Ok. Long time no see. I just upgraded my Debian Squeeze test install to Nuxeo 5.6, which seems to come with openCmis 0.7.0 and Tomcat 6.0.35. Just as expected. Cool.&lt;/P&gt;
&lt;P&gt;My frontend Apache HTTP uses mod_proxy to do its work, and sets headers as follows :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;RequestHeader append X-Forwarded-Proto "https"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(the rest being done with a "ProxyPreserveHost" directive)&lt;/P&gt;
&lt;P&gt;Then on my Nuxeo host, I set up a Tomcat Valve looking like this :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;Valve className="org.apache.catalina.valves.RemoteIpValve" internalProxies="192\.168\.1\.33" protocolHeader="x-forwarded-proto" /&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Until I comment this, Nuxeo refuses to start, without giving any clear error. If commented, it works, but then x-forwarded-proto isn't took into account (which sounds logical).&lt;/P&gt;
&lt;P&gt;Could there be something to install before being able to use that valve? From what grep/strings gives me, there's mention of RemoteIpValve in catalina.jar, so...&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2012 17:03:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317147#M4148</guid>
      <dc:creator>OlivierM_</dc:creator>
      <dc:date>2012-12-18T17:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS behind a reverse-proxy?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317148#M4149</link>
      <description>&lt;P&gt;For some reason, it finally worked without changing anything&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2012 17:34:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317148#M4149</guid>
      <dc:creator>OlivierM_</dc:creator>
      <dc:date>2012-12-18T17:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS behind a reverse-proxy?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317149#M4150</link>
      <description>&lt;P&gt;&lt;A href="https://jira.nuxeo.com/browse/NXP-14032"&gt;NXP-14032&lt;/A&gt; now fixes this (except for Web Services bindings).&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2014 20:44:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-behind-a-reverse-proxy/m-p/317149#M4150</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2014-03-14T20:44:07Z</dc:date>
    </item>
  </channel>
</rss>

