<div dir="ltr">Eugenio,<div><br></div><div>ALLOWED_HOSTS are the authorized names and ip addresses that you can use to reach the server. See the django docs for more info.</div><div><br></div><div><span style="font-size:12.8px">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)</span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-09 17:14 GMT+01:00 Eugenio Trumpy <span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Hi everybody,<br><br>I would like to understand better the importance of the two variables:<br><br>ALLOWED_HOST<br>and<br>PROXY_ALLOWED_HOST<br><br>which are now mandatory (?) in the config file 'local_setting.py' in the master version.<br>Currently I set up this two variables as stated in the documentation:<br><br>ALLOWED_HOSTS = ['127.0.0.1', 'localhost', '::1']<br>PROXY_ALLOWED_HOSTS = ("127.0.0.1", 'localhost', '::1')<br><br>However I wonder if this is correct for my environment.<br>I'm working for deploying a geonode on my server and not in my localhost (desktop) as well as <br>any VM. I have a server with its own ip and hostname.<br><br>How should I use these two variables? What do they mean?<br><br>Thanks<span class="HOEnZb"><font color="#888888"><br><br>Eugenio <br> </font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">SimoneĀ </div>
</div>