Closed AlexGacon closed 2 days ago
We could turn the whole file to a configmap which will replace the file shipped with the default configuration, like we do with the notifier.xml file.
Like this, we can also give the possibility to customize the available layouts.
Feature Description
The GeoServer print module has a configuration file which contains among other things the list of the allowed hosts the module can connect to.
Since the 4.4 version, the default configuration has changed by the removal of the rule allowing to connect to any host. As a consequence, the use of the print module no longer works on a production environment (the public URL of the geonode is no longer allowed).
Proposed Solution
The solution is to at least inject on the configuration file (geoserver/data/printing/config.yaml) the rule to work with the public URL of the GeoNode instance. If possible, it would be nice to be able to add other allowed hosts in the configuration file.
Additional Information
Any additional information or context that may be helpful in implementing the feature.