Open shan1iu opened 3 years ago
i was trying to preview the new added layer with OpenLayers format but the redirect url starts with genode instead of localhost:8080 hence the openlayer js&css is not loaded correctly
http://geonode/geoserver/.... expected: http://localhost:8080/geoserver/....
i am using docker-compose and here's my yml file
version: "3.8" services: geoserver: image: "geonode/geoserver" ports: - "8080:8080" volumes: - "/var/run/docker.sock:/var/run/docker.sock" - "./geoserver/data/:/geoserver_data/data"
You need to change an internal Geoserver setting, the "Proxy Base URL", which you can find in General Settings.
i was trying to preview the new added layer with OpenLayers format but the redirect url starts with genode instead of localhost:8080 hence the openlayer js&css is not loaded correctly
http://geonode/geoserver/.... expected: http://localhost:8080/geoserver/....
i am using docker-compose and here's my yml file