[ome-users] insight.jnlp and Nginx redirection
Niko Ehrenfeuchter
nikolaus.ehrenfeuchter at unibas.ch
Fri Feb 1 14:20:41 GMT 2013
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
More information about the ome-users
mailing list