<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">
<div>Thanks for keeping us updated!</div>
<div><br>
</div>
<div>Simon<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, 19 Feb 2019 at 12:28, Andreas Mueller <<a href="mailto:Andreas.Mueller@biologie.uni-osnabrueck.de">Andreas.Mueller@biologie.uni-osnabrueck.de</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
  Hi Simon,<br>
<br>
  gunicorn supports ssl. There are some flags you can fill up. See the<br>
  mail from Ola  (--certfile --keyfile). I've done that with a self<br>
  signed cert and it works (..with some bugs with css)<br>
<br>
  The gunicorn docs tell you that the python implementation is probably<br>
  a littel unsave und you should never use that in production<br>
  environments. And the ssl python implementation is slow.<br>
<br>
  So, I changed my config to:  https with nginx for the world and http<br>
  for inhouse connection without nginx.<br>
<br>
  with best regards<br>
  Andreas<br>
<br>
On 05.02.19 13:21, Simon Li wrote:<br>
> Hi Andreas<br>
> <br>
> Django and whitenoise don't support HTTPS directly. Google comes up<br>
> with a few Django add-ons but they're not recommended for production,<br>
> the only practical option I'm aware of is to use a webserver/proxy<br>
> such as Nginx. Since you've configured whitenoise if you already have<br>
> a web-server on a different machine you could use that to proxy<br>
> OMERO.web, otherwise have a look at our docs:<br>
> <br>
> <a href="https://docs.openmicroscopy.org/omero/5.4.10/sysadmins/unix/install-web/walkthrough/omeroweb-install-centos7-ice3.6.html" rel="noreferrer" target="_blank">
https://docs.openmicroscopy.org/omero/5.4.10/sysadmins/unix/install-web/walkthrough/omeroweb-install-centos7-ice3.6.html</a><br>
> <br>
> Simon<br>
> <br>
> <br>
> <br>
> <br>
>   Hi Simon,<br>
> <br>
>   me again  :-)<br>
> <br>
>   know I've to configure the https<br>
> <br>
>   How do I do that best with whitenoise as middleware?<br>
> <br>
>   best regards<br>
>   Andreas<br>
> <br>
> _______________________________________________<br>
> ome-users mailing list<br>
> <a href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.openmicroscopy.org.uk</a><mailto:<a href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.openmicroscopy.org.uk</a>><br>
> <a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" rel="noreferrer" target="_blank">
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
> <br>
> The University of Dundee is a registered Scottish Charity, No: SC015096<br>
<br>
> _______________________________________________<br>
> ome-users mailing list<br>
> <a href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.openmicroscopy.org.uk</a><br>
> <a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" rel="noreferrer" target="_blank">
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
<br>
_______________________________________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" rel="noreferrer" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
</blockquote>
</div>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>