<div dir="ltr">I see, then you have loaded layers before changing the ip. In this case the geonode-updateip is necessary</div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-25 14:46 GMT+01:00 Annalisa Schiavon <span dir="ltr"><<a href="mailto:annalisa.schiavon@gmail.com" target="_blank">annalisa.schiavon@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Simone,<div>It seems all be good, but I had to enter the ip of my server in <span style="font-size:12.8px">PROXY_ALLOWED_HOSTS.</span></div><div>Then in base_resuorcebase table I find "<a href="http://192.168.30.205/layers/." target="_blank">http://192.168.30.205/layers/.</a>." for all layers, instead for new layers It puts "<a href="http://geomap.arpa.veneto.it/layers/geonode.." target="_blank">http://geomap.arpa.veneto.it/layers/geonode..</a>."</div><div>Maybe the ip is also in other tables ... (It's the ip of the server behind the proxy, not of the proxy)</div><div>It's a bad configuration, even if it works, or I may leave so? Geonode looks for resource outside the server?</div><div><br></div><div>Annalisa</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-25 11:55 GMT+01:00 Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Annalisa, I think you are fine with that. You don't need to add it to the <span style="font-size:12.8px">PROXY_ALLOWED_HOSTS as this parameters is used to tell the geonode internal proxy where it can connect ( to do a getCapabilities to an external service).</span><div><span style="font-size:12.8px">The location should stay to localhost as long as geoserver and geonode are on the same server.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>2016-02-25 11:51 GMT+01:00 Annalisa Schiavon <span dir="ltr"><<a href="mailto:annalisa.schiavon@gmail.com" target="_blank">annalisa.schiavon@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi all,<div>I have to configure geonode behind a proxy. The Proxy will map the request from "<a href="http://geomap.arpa.veneto.it" target="_blank">geomap.arpa.veneto.it</a>" to my new server.</div><div><br></div><div>I have fill in "Proxy Base Url" in geoserver's setting page with: "<a href="http://geomap.arpa.veneto.it/geoserver/" target="_blank">http://geomap.arpa.veneto.it/geoserver/</a>"</div><div>Then I have set SITEURL = '<a href="http://geomap.arpa.veneto.it" target="_blank">http://geomap.arpa.veneto.it</a>' and added that url in ALLOWED_HOSTS and PROXY_ALLOWED_HOSTS in local_settings.py file</div><div><br></div><div>There are other things to do?</div><div><br></div><div>I have to launch a geonode-updateip <a href="http://geomap.arpa.veneto.it" target="_blank">geomap.arpa.veneto.it</a> ?</div><div><br></div><div>LOCATION in OGC_SERVER, in local_settings.py, remains = ''<a href="http://localhost:8080/geoserver/" target="_blank">http://localhost:8080/geoserver/</a>'' ?</div><div>I have to set, instead, the parameter  PROXY_URL ? To what?</div><div><br></div><div>Thanks</div><span><font color="#888888"><div>Annalisa</div><div><br></div><div><br></div></font></span></div>
<br></div></div>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div>Simone </div>
</font></span></font></span></div>
</blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>