[GeoNode-users] allowed_host & proxy_allowed_host

Simone Dalmasso simone.dalmasso at gmail.com
Wed Dec 9 12:42:59 PST 2015


ALLOWED_HOSTS are the authorized names and ip addresses that you can use to
reach the server. See the django docs for more info.

PROXY_ALLOWED_HOSTS are the names and ips that the proxy is allowed to
connect to, for example for importing external services into the map
composer (not the geonode services)

2015-12-09 17:14 GMT+01:00 Eugenio Trumpy <frippe12573 at hotmail.com>:

> Hi everybody,
> I would like to understand better the importance of the two variables:
> and
> which are now mandatory (?) in the config file 'local_setting.py' in the
> master version.
> Currently I set up this two variables as stated in the documentation:
> ALLOWED_HOSTS = ['', 'localhost', '::1']
> PROXY_ALLOWED_HOSTS = ("", 'localhost', '::1')
> However I wonder if this is correct for my environment.
> I'm working for deploying a geonode on my server and not in my localhost
> (desktop) as well as
> any VM. I have a server with its own ip and hostname.
> How should I use these two variables? What do they mean?
> Thanks
> Eugenio

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20151209/1da08ac6/attachment.html>

More information about the geonode-users mailing list