This PR modifies the capabilities response document that is generated by the THREDDS server as a response to a WMS GetCapabilities request and converts relevant URLs to use the public URL of the system instead of internal THREDDS URLs.
For example, it converts the URLs advertised for the GetMap operation:
from this private URL which references the thredds server as it is known inside the docker network and is thus not accessible by external clients
As a result of this PR the system's WMS endpoint is now usable by any generic WMS client, without having to use custom hacks, like ignoring capabilities links.
This PR modifies the capabilities response document that is generated by the THREDDS server as a response to a WMS GetCapabilities request and converts relevant URLs to use the public URL of the system instead of internal THREDDS URLs.
For example, it converts the URLs advertised for the GetMap operation:
from this private URL which references the thredds server as it is known inside the docker network and is thus not accessible by external clients
to this URL which uses the system's public URL and our WMS proxy API endpoint, which means it is publicly accessible
As a result of this PR the system's WMS endpoint is now usable by any generic WMS client, without having to use custom hacks, like ignoring capabilities links.