See email below:
Ben -
We got things to work by adjusting the Host header on the proxy server (nginx
in this case), but before doing that we were seeing 127.0.0.1 addresses in the
GetCapabilities and OpenLayers previews even though we had set the Geoserver
proxy base url. We're using 2.3, so I'm curious why we seemed to be having the
same issue that was solved at 2.1.x in that bug report you mentioned?
Just for the record, here's the nginx config snippet that we're using now (that
works). Previously we weren't setting the Host header:
# By default, traffic is sent to Tomcat
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $http_host;
}
Thanks!
Ryan
From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea
Aime
Sent: Thursday, September 05, 2013 10:07 AM
To: Christy Caudill
Cc: GeoServer Mailing List List
Subject: Re: [Geoserver-users] OpenLayers with App-Schemas
On Thu, Sep 5, 2013 at 6:50 PM, christy@azgs
<christy.caud...@azgs.az.gov<mailto:christy.caud...@azgs.az.gov>> wrote:
Okay, so you can see that the OnlineResource in the GetCapabilities still
references 127.0.0.1
http://data.usgin.org/azgs_bedrock_geology/gsmlp/wms?service=WMS&version=1.3.0&request=GetCapabilities
Do you have caching issues? The online resources point to the host you
configured for me?
The OpenLayers preview works fine as well
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users