[GeoNode-devel] GeoServer PROXY_BASE_URL setting

Pattara Kiatisevi pattara at longdo.com
Wed Jun 8 19:48:01 PDT 2022


Hi,

Running GeoNode using Docker and behind an outer reverse proxy (that
handles HTTPS and stuff), everytime I docker-compose build and up -d, I
have to go into the container to edit GeoServer's
/usr/local/tomcat/tmp/webapps/geoserver/WEB-INF/web.xml and add something
like this to make it work with the https URL.

    <context-param>
      <param-name>PROXY_BASE_URL</param-name>
      <param-value>http://82.58.146.45/geoserver</param-value>
    </context-param>

Just wonder if there is a convenient variable in .env that one can set
before bulding and have the PROXY_BASE_URL set automagically?

Thank you very much,
Pattara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20220609/13b1df72/attachment.htm>


More information about the geonode-devel mailing list