[GeoNode-users] allowed_host & proxy_allowed_host

Eugenio Trumpy frippe12573 at hotmail.com
Thu Dec 10 00:35:06 PST 2015


Hi Simone,

if I would let to reach the server to everybody, have I to remove the variables from the local_setting.py? or what else?
Should I leave the localhost?In this case localhost is a sort of 'escape' setting to say "all can access the server and the proxy"?

E.


From: simone.dalmasso at gmail.com
Date: Wed, 9 Dec 2015 21:42:59 +0100
Subject: Re: allowed_host & proxy_allowed_host
To: frippe12573 at hotmail.com
CC: geonode-users at lists.osgeo.org

Eugenio,
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:

ALLOWED_HOST
and
PROXY_ALLOWED_HOST

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 = ['127.0.0.1', 'localhost', '::1']
PROXY_ALLOWED_HOSTS = ("127.0.0.1", '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 
 		 	   		  


-- 
Simone 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20151210/75d3fea7/attachment.html>


More information about the geonode-users mailing list