[GeoNode-users] Proxy behind firewall.

Francesco Bartoli xbartolone at gmail.com
Fri Oct 13 16:10:12 PDT 2017


Hi Andrea,

Can you elaborate a little bit what you want to achieve? Do you have an enterprise reverse proxy in front of GeoNode? In that case what kind of GeoNode installation do you have?
Usually it is expected to publish GeoNode within a dedicated Apache/NGINX virtual host (i.e.: geonode.example.com) with the base routing from the django application while the GeoServer proxy can be declared as a ProxyPass rule.

It looks like you want to change the routing of the GeoNode application which is a little bit more complex. Maybe you could use a custom geonode-project and modify the main urls.py but I wouldn’t recommend it. Another option would be just to run GeoNode on an internal port in the LAN (i.e.: 81) and map it through the firewall to the public one on the Internet (i.e.: 80).

Hope this helps

Francesco

Il giorno 13/ott/2017, alle ore 14:30, Vianello Andrea <Andrea.Vianello at eurac.edu> ha scritto:

> Hi all, we have problem with the proxy of geonode, I hope you can help us.
> 
> We have a Geonode on a server in the LAN and we would like to open it through a server out of the firewall using a proxy.
> The final url that you can test is: http://greta.eurac.edu/geonode , but if you click on the other pages it doesn't work.
> 
> We set this rules on the proxy server:
> 
> # Greta GeoNode
> ProxyPass /geonode http://rsegeonode.eurac.edu/geonode
> ProxyPassReverse /geonode http://rsegeonode.eurac.edu/geonode
> 
> But it doesn't work, so we tried to set also additional rules like:
> ProxyPass /static http://rsegeonode.eurac.edu/static
> ProxyPassReverse /static http://rsegeonode.eurac.edu/static
> 
> ProxyPass /geonode/gretaMP http://rsegeonode.eurac.edu/gretaMP
> ProxyPassReverse /geonode/gretaMP http://rsegeonode.eurac.edu/gretaMP
> 
> We still have some problems with geoserver proxy. So is there a better way to do it? Is there a tutorial?
> Thank you very much,
> Andrea.
> 
> --
> 
> Andrea Vianello
> 
> eurac research 
> Institute for Earth Observation   
> Viale Druso 1, I-39100 Bolzano, Italy
> t  +39 0471 055 270
> andrea.vianello at eurac.edu
> 
> 
> www.eurac.edu
> Facebook | YouTube | Twitter | LinkedIn | CV
> 
> 
> 
> This transmission is intended only for the use of the addressee and may contain confidential or legally privileged information. 
> If you receive this transmission by error, please notify the author immediately by mail and delete all copies of this transmission and any attachments. 
> Any use or dissemination of this communication is strictly prohibited by the "Privacy-Code", D.Lgs. 196/2003 and may lead to penal prosecution and liability for damages.
>  Think before you print
> 
> -----Original Message-----
> From: geonode-users [mailto:geonode-users-bounces at lists.osgeo.org] On Behalf Of geonode-users-request at lists.osgeo.org
> Sent: Tuesday, October 10, 2017 10:20 AM
> To: geonode-users at lists.osgeo.org
> Subject: geonode-users Digest, Vol 33, Issue 8
> 
> Send geonode-users mailing list submissions to
> 	geonode-users at lists.osgeo.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.osgeo.org/mailman/listinfo/geonode-users
> or, via email, send a message with subject or body 'help' to
> 	geonode-users-request at lists.osgeo.org
> 
> You can reach the person managing the list at
> 	geonode-users-owner at lists.osgeo.org
> 
> When replying, please edit your Subject line so it is more specific than "Re: Contents of geonode-users digest..."
> 
> 
> Today's Topics:
> 
>   1. Disable Unique filename (Arisandi, Donny (ICRAF))
>   2. Re: Disable Unique filename (Simone Dalmasso)
>   3. Re: Can't upload layers (Ana Boljevic)
>   4. Re: Disable Unique filename (Arisandi, Donny (ICRAF))
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 10 Oct 2017 04:05:40 +0000
> From: "Arisandi, Donny (ICRAF)" <D.Arisandi at cgiar.org>
> To: "geonode-users at lists.osgeo.org" <geonode-users at lists.osgeo.org>
> Subject: [GeoNode-users] Disable Unique filename
> Message-ID:
> 	<AM4PR03MB16673A0C8C71607F772F0E6591750 at AM4PR03MB1667.eurprd03.prod.outlook.com>
> 	
> Content-Type: text/plain; charset="utf-8"
> 
> Dear all,
> 
> How to disable unique filename function? Please advise.
> 
> Thank you
> Donny
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20171010/c255fa12/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Tue, 10 Oct 2017 07:21:30 +0200
> From: Simone Dalmasso <simone.dalmasso at gmail.com>
> To: "Arisandi, Donny (ICRAF)" <D.Arisandi at cgiar.org>
> Cc: "geonode-users at lists.osgeo.org" <geonode-users at lists.osgeo.org>
> Subject: Re: [GeoNode-users] Disable Unique filename
> Message-ID:
> 	<CAAHAC+fr6db8k0zu+CGEGYnN0zrfQ7pEBwxbBf_coS7+h+jDQA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi, There's not a unique filename constraint but a unique layer name, which cannot be disabled, the layer name is used as unique ID in GeoNode. You can always set a layer title, it is not unique.
> 
> best
> 
> 2017-10-10 6:05 GMT+02:00 Arisandi, Donny (ICRAF) <D.Arisandi at cgiar.org>:
> 
>> Dear all,
>> 
>> 
>> 
>> How to disable unique filename function? Please advise.
>> 
>> 
>> 
>> Thank you
>> 
>> Donny
>> 
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>> 
>> 
> 
> 
> --
> Simone
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20171010/5c6e6776/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 3
> Date: Tue, 10 Oct 2017 07:31:29 +0000
> From: Ana Boljevic <ana.boljevic at cedis.me>
> To: "geonode-users at lists.osgeo.org" <geonode-users at lists.osgeo.org>
> Subject: Re: [GeoNode-users] Can't upload layers
> Message-ID:
> 	<AAEBD9A56B505F438F2CFA1638BCC7A307DC4806 at MB2.int.epcg.co.me>
> Content-Type: text/plain; charset="iso-8859-2"
> 
> Dear All,
> 
> We solved this problem:
> Before a long time we changed Proxy Base URL in Global Settings from "http://localhost:8080/geoserver"<http://localhost:8080/geoserver> to "http://domain_name/geoserver"<http://domain_name/geoserver>.
> Upload stopped working few days ago. After we turned this property back to default, Upload started working normally.
> 
> Regards,
> 
> Ana Boljević
> 
> On 10/9/2017 1:41 PM, Ana Boljevic wrote:
> 
> Dear GeoNode Community,
> 
> We suddenly have problem whith uploading layers. Machine was installed about a month ago and everything was alright until we started to receive message that we send in attachment - error.png We have user installation GeoNode 2.6.2 on Ubuntu 16.04 server.
> Our default workspace is "cedis" and in GeoFence Data Rules we added new rule as you can see in attachment GeoFence.png Apache log file we send in attachment - apache2_error.txt and geoserver log file in developer mode - geoserver_log.txt
> 
> If you can give us any help or idea how to resolve this problem we would be very thankful.
> 
> Regards,
> 
> Ana Boljevic
> 
> 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20171010/5fa81c0d/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 4
> Date: Tue, 10 Oct 2017 06:47:06 +0000
> From: "Arisandi, Donny (ICRAF)" <D.Arisandi at cgiar.org>
> To: Simone Dalmasso <simone.dalmasso at gmail.com>
> Cc: "geonode-users at lists.osgeo.org" <geonode-users at lists.osgeo.org>
> Subject: Re: [GeoNode-users] Disable Unique filename
> Message-ID:
> 	<AM4PR03MB1667389AFA5158333710B95B91750 at AM4PR03MB1667.eurprd03.prod.outlook.com>
> 	
> Content-Type: text/plain; charset="utf-8"
> 
> Thanks Simone, but I need the filename of the document to be the same with the updated one. As we know if we edit document and replace the file with the same file name, it would generate a new filename. I would like to disable it if possible.
> If anyone have experienced on this please advise.
> 
> Cheers
> 
> From: Simone Dalmasso [mailto:simone.dalmasso at gmail.com]
> Sent: 10 Oktober 2017 12:22
> To: Arisandi, Donny (ICRAF)
> Cc: geonode-users at lists.osgeo.org
> Subject: Re: [GeoNode-users] Disable Unique filename
> 
> Hi, There's not a unique filename constraint but a unique layer name, which cannot be disabled, the layer name is used as unique ID in GeoNode. You can always set a layer title, it is not unique.
> 
> best
> 
> 2017-10-10 6:05 GMT+02:00 Arisandi, Donny (ICRAF) <D.Arisandi at cgiar.org<mailto:D.Arisandi at cgiar.org>>:
> Dear all,
> 
> How to disable unique filename function? Please advise.
> 
> Thank you
> Donny
> 
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
> https://lists.osgeo.org/mailman/listinfo/geonode-users
> 
> 
> 
> --
> Simone
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20171010/7f500668/attachment.html>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
> 
> 
> ------------------------------
> 
> End of geonode-users Digest, Vol 33, Issue 8
> ********************************************
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users



More information about the geonode-users mailing list