Update from email thread:

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




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OpenLayers-with-App-Schemas-tp5075263p5076303.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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

Reply via email to