[GeoNode-users] Configure geonode behind a Proxy

Simone Dalmasso simone.dalmasso at gmail.com
Thu Feb 25 05:48:18 PST 2016


I see, then you have loaded layers before changing the ip. In this case the
geonode-updateip is necessary

2016-02-25 14:46 GMT+01:00 Annalisa Schiavon <annalisa.schiavon at gmail.com>:

> Thanks Simone,
> It seems all be good, but I had to enter the ip of my server in
> PROXY_ALLOWED_HOSTS.
> Then in base_resuorcebase table I find "http://192.168.30.205/layers/.."
> for all layers, instead for new layers It puts "
> http://geomap.arpa.veneto.it/layers/geonode..."
> Maybe the ip is also in other tables ... (It's the ip of the server behind
> the proxy, not of the proxy)
> It's a bad configuration, even if it works, or I may leave so? Geonode
> looks for resource outside the server?
>
> Annalisa
>
> 2016-02-25 11:55 GMT+01:00 Simone Dalmasso <simone.dalmasso at gmail.com>:
>
>> Annalisa, I think you are fine with that. You don't need to add it to the 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).
>> The location should stay to localhost as long as geoserver and geonode
>> are on the same server.
>>
>> 2016-02-25 11:51 GMT+01:00 Annalisa Schiavon <annalisa.schiavon at gmail.com
>> >:
>>
>>> Hi all,
>>> I have to configure geonode behind a proxy. The Proxy will map the
>>> request from "geomap.arpa.veneto.it" to my new server.
>>>
>>> I have fill in "Proxy Base Url" in geoserver's setting page with: "
>>> http://geomap.arpa.veneto.it/geoserver/"
>>> Then I have set SITEURL = 'http://geomap.arpa.veneto.it' and added that
>>> url in ALLOWED_HOSTS and PROXY_ALLOWED_HOSTS in local_settings.py file
>>>
>>> There are other things to do?
>>>
>>> I have to launch a geonode-updateip geomap.arpa.veneto.it ?
>>>
>>> LOCATION in OGC_SERVER, in local_settings.py, remains = ''
>>> http://localhost:8080/geoserver/'' ?
>>> I have to set, instead, the parameter  PROXY_URL ? To what?
>>>
>>> Thanks
>>> Annalisa
>>>
>>>
>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/geonode-users
>>>
>>>
>>
>>
>> --
>> Simone
>>
>
>


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


More information about the geonode-users mailing list