<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Julien and Niko,<div><br></div><div> Thanks for your feedback and input. I have created a ticket for this issue:</div><div><br></div><div><a href="https://trac.openmicroscopy.org.uk/ome/ticket/10273">https://trac.openmicroscopy.org.uk/ome/ticket/10273</a></div><div><br></div><div>  Cheers,</div><div><br></div><div>   Will. </div><div><br></div><div><br></div><div><br></div><div><div><div>On 1 Feb 2013, at 14:20, Niko Ehrenfeuchter wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 01.02.2013 15:12, Niko Ehrenfeuchter wrote:<br><blockquote type="cite">On 01.02.2013 15:09, Julien Jourde wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Hi Omero-users,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I just installed a 4.4.5 omero server in my lab. Everything's fine<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">except when I try to launch Insight using the jnlp protocol.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The problem seems to come from the redirection of the port 80 to the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">port 443 in nginx.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I'm using "rewrite ^ <a href="https://$server_name$request_uri?">https://$server_name$request_uri?</a> permanent;" in my<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">omero.conf file to accomplish that. But the jnlp file can't deal with<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">that. It contains urls like<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">"<a href="http://my.omero.server.fr/webstart/jars/insight.jnlp">http://my.omero.server.fr/webstart/jars/insight.jnlp</a>" where it shoud be<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">"<a href="https://my">https://my</a>....". Launching the jnlp leads to a launchfile error because<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">it tries to charge a web page unproperly created by nginx (see below).<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Did I made something wrong by using redirection rules ? Is there a way<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">to do it more properly ?<br></blockquote></blockquote><br>apparently we do have an exception for webstart in the rewrite rules:<br><br><blockquote type="cite"> if ( $uri !~ ^/webstart/jars/insight.jnlp ) {<br></blockquote><blockquote type="cite">     rewrite   ^ <a href="https://$server_name$request_uri?">https://$server_name$request_uri?</a> last;<br></blockquote><blockquote type="cite"> }<br></blockquote><br>This workaround seems to get things going here, but anyway I think the hardcoded "http" in the jnlp file should rather get fixed.<br><br>Cheers<br>Niko<br>_______________________________________________<br>ome-users mailing list<br><a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users<br></div></blockquote></div><br></div></body></html>