[GeoNode-users] Turning Debug-Mode OFF

Alessio Fabiani alessio.fabiani at geo-solutions.it
Mon Jan 7 05:26:18 PST 2019


If using NGINX you should also add those few lines to the configuration

        location /static/ {
                alias /...path to geonode.../static_root/;
        }

        location /uploaded/ {
                alias / ...path to geonode...  /uploaded/;
        }



Il giorno ven 21 dic 2018 alle ore 11:36 Berger, Steffen <
s.berger at atenekom.eu> ha scritto:

> Hi!
>
> I'm facing problem setting up GeoNode 2.10rc4 for our Production system.
> When I turn the Debug-Mode off in the settings file with DEBUG=False, the
> static files cannot be found under geonode/static/...
>
> I played around with the STATIC_ROOT variable, I ran django-admin.py
> collectstatic but none of it has worked.
>
> Where might be the error? Is it an nginx-issue may be?
>
> Thanks in advance!
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>


-- 

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==
Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190107/82badb4d/attachment.html>


More information about the geonode-users mailing list