[ome-users] omero Installation with whitenoise and https
Andreas Mueller
Andreas.Mueller at Biologie.Uni-Osnabrueck.DE
Tue Feb 19 12:28:39 GMT 2019
Hi Simon,
gunicorn supports ssl. There are some flags you can fill up. See the
mail from Ola (--certfile --keyfile). I've done that with a self
signed cert and it works (..with some bugs with css)
The gunicorn docs tell you that the python implementation is probably
a littel unsave und you should never use that in production
environments. And the ssl python implementation is slow.
So, I changed my config to: https with nginx for the world and http
for inhouse connection without nginx.
with best regards
Andreas
On 05.02.19 13:21, Simon Li wrote:
> Hi Andreas
>
> Django and whitenoise don't support HTTPS directly. Google comes up
> with a few Django add-ons but they're not recommended for production,
> the only practical option I'm aware of is to use a webserver/proxy
> such as Nginx. Since you've configured whitenoise if you already have
> a web-server on a different machine you could use that to proxy
> OMERO.web, otherwise have a look at our docs:
>
> https://docs.openmicroscopy.org/omero/5.4.10/sysadmins/unix/install-web/walkthrough/omeroweb-install-centos7-ice3.6.html
>
> Simon
>
>
>
>
> Hi Simon,
>
> me again :-)
>
> know I've to configure the https
>
> How do I do that best with whitenoise as middleware?
>
> best regards
> Andreas
>
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk<mailto:ome-users at lists.openmicroscopy.org.uk>
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>
> The University of Dundee is a registered Scottish Charity, No: SC015096
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
More information about the ome-users
mailing list