[ome-users] insight.jnlp and Nginx redirection

Will Moore will at lifesci.dundee.ac.uk
Fri Feb 1 15:51:13 GMT 2013


Hi Julien and Niko,

 Thanks for your feedback and input. I have created a ticket for this issue:

https://trac.openmicroscopy.org.uk/ome/ticket/10273

  Cheers,

   Will. 



On 1 Feb 2013, at 14:20, Niko Ehrenfeuchter wrote:

> On 01.02.2013 15:12, Niko Ehrenfeuchter wrote:
>> On 01.02.2013 15:09, Julien Jourde wrote:
>>> Hi Omero-users,
>>> 
>>> I just installed a 4.4.5 omero server in my lab. Everything's fine
>>> except when I try to launch Insight using the jnlp protocol.
>>> 
>>> The problem seems to come from the redirection of the port 80 to the
>>> port 443 in nginx.
>>> 
>>> I'm using "rewrite ^ https://$server_name$request_uri? permanent;" in my
>>> omero.conf file to accomplish that. But the jnlp file can't deal with
>>> that. It contains urls like
>>> "http://my.omero.server.fr/webstart/jars/insight.jnlp" where it shoud be
>>> "https://my....". Launching the jnlp leads to a launchfile error because
>>> it tries to charge a web page unproperly created by nginx (see below).
>>> 
>>> Did I made something wrong by using redirection rules ? Is there a way
>>> to do it more properly ?
> 
> apparently we do have an exception for webstart in the rewrite rules:
> 
>> if ( $uri !~ ^/webstart/jars/insight.jnlp ) {
>>     rewrite   ^ https://$server_name$request_uri? last;
>> }
> 
> This workaround seems to get things going here, but anyway I think the hardcoded "http" in the jnlp file should rather get fixed.
> 
> Cheers
> Niko
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20130201/f724bc0f/attachment.html>


More information about the ome-users mailing list