[GeoNode-devel] (no subject)
Paolo Pasquali
paolo.pasquali at gmail.com
Tue Nov 19 08:57:33 PST 2019
Dear devs,
I have configured my docker-compose.override.yml this way:
...
environment:
- DEBUG=False
- GEONODE_LB_HOST_IP=mydomain.com
- GEONODE_LB_PORT=80
- SITEURL=http://mydomain.com/
- ALLOWED_HOSTS=['mydomain.com', 'www.mydomain.com',]
- GEOSERVER_PUBLIC_LOCATION=http://mydomain.com/geoserver/
- GEOSERVER_WEB_UI_LOCATION=http://mydomain.com/geoserver/
...
Please note the ALLOWED_HOSTS value. The problem is that AngularJS doesn't
execute a script when accessing the website with www.mydomain.com
[Error] Error: [$sce:insecurl] Blocked loading resource from url not
allowed by $sceDelegate policy. URL:
http://mydomain.com/static/geonode/js/templates/cart.html
Should I whitelist the domain or is there a better solution?
Thanks!
Ciao.
Paolo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20191119/7e363554/attachment.html>
More information about the geonode-devel
mailing list