<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Hi Andreas</div>
<div><br>
</div>
<div dir="ltr">You shouldn't run OMERO.web in in production with DEBUG enabled, see the Django docs for an explanation:
<a href="https://docs.djangoproject.com/en/1.8/ref/settings/#debug">https://docs.djangoproject.com/en/1.8/ref/settings/#debug</a></div>
<div dir="ltr"><br>
</div>
<div>It's possible to run OMERO.web without a web server using the whitenoise package:
<a href="http://whitenoise.evans.io/en/stable/">http://whitenoise.evans.io/en/stable/</a></div>
<div>with this OMERO.web configuration line:</div>
<div><br>
</div>
<div>config append -- omero.web.middleware '{"index": 0, "class": "whitenoise.middleware.WhiteNoiseMiddleware"}'<br>
</div>
<div><br>
</div>
<div>For example this is used in one of our OMERO.web docker images for convenience:
<a href="https://github.com/openmicroscopy/omero-web-docker/blob/5.4.9/standalone/Dockerfile">
https://github.com/openmicroscopy/omero-web-docker/blob/5.4.9/standalone/Dockerfile</a></div>
<div><br>
</div>
<div>Simon<br>
</div>
<div dir="ltr"><br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, 22 Jan 2019 at 10:03, 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 all,<br>
<br>
I've made my next Omero-Test-Installation without the nginx-part.<br>
<br>
It runs find (when, and only when I set the debug flag (?)) .. !<br>
<br>
<br>
Are there still reasens to install the nginx cache webserver?<br>
<br>
Can I bring my installation in production-mode without disadvantages?<br>
<br>
<br>
thanks a lot and have a nice day<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><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>