[Geoserver-devel] [JIRA] (GEOS-7653) tiled layers preview do not use Proxy Base Url

Daniel Araujo Miranda created an issue

GeoServer / BugGEOS-7653

tiled layers preview do not use Proxy Base Url

Issue Type:

BugBug

Affects Versions:

2.9.0

Assignee:

Unassigned

Components:

GWC

Created:

22/Jul/16 4:51 PM

Environment:

Ubuntu 16.04, Tomcat 8, Nginx reverse proxy

Labels:

geoserver web

Priority:

LowLow

Reporter:

Daniel Araujo Miranda

Original Estimate:

1 hour

Remaining Estimate:

1 hour

Geoserver tiled layers preview points to http://127.0.0.1:8080/geoserver/gwc/… even though “Proxy Base URL” is set correctly. The regular layer previews work as expected.

This is the code to create the WMS demo page links (which works):

https://github.com/geoserver/geoserver/blob/master/src/web/demo/src/main/java/org/geoserver/web/demo/DemoRequestsPage.java#L168

This is the code to generate the GWC (tiled) demo page links (which does not quite work):

https://github.com/geoserver/geoserver/blob/master/src/web/gwc/src/main/java/org/geoserver/gwc/web/layer/CachedLayersPage.java#L280

It seems that the problem is in the GWC demo page generation which does not pull the getGeoServer().getGlobal().getSettings().getProxyBaseUrl() property.

The “actions” links have the same problem:
https://github.com/geoserver/geoserver/blob/master/src/web/gwc/src/main/java/org/geoserver/gwc/web/layer/CachedLayersPage.java#L173

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.184.1#100008-sha1:1fb1cc9)

Atlassian logo