[ome-users] omero Installation without nginx
Simon Li
spli at dundee.ac.uk
Tue Jan 22 10:31:32 GMT 2019
Hi Andreas
You shouldn't run OMERO.web in in production with DEBUG enabled, see the Django docs for an explanation: https://docs.djangoproject.com/en/1.8/ref/settings/#debug
It's possible to run OMERO.web without a web server using the whitenoise package: http://whitenoise.evans.io/en/stable/
with this OMERO.web configuration line:
config append -- omero.web.middleware '{"index": 0, "class": "whitenoise.middleware.WhiteNoiseMiddleware"}'
For example this is used in one of our OMERO.web docker images for convenience: https://github.com/openmicroscopy/omero-web-docker/blob/5.4.9/standalone/Dockerfile
Simon
On Tue, 22 Jan 2019 at 10:03, Andreas Mueller <Andreas.Mueller at biologie.uni-osnabrueck.de<mailto:Andreas.Mueller at biologie.uni-osnabrueck.de>> wrote:
Hi all,
I've made my next Omero-Test-Installation without the nginx-part.
It runs find (when, and only when I set the debug flag (?)) .. !
Are there still reasens to install the nginx cache webserver?
Can I bring my installation in production-mode without disadvantages?
thanks a lot and have a nice day
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20190122/12a3c122/attachment.html>
More information about the ome-users
mailing list