I have a tomcat apache installed with ssl on Centos and I have deployed GeoServer as webapp into tomcat…when I access GeoServer through tomcat as
https://XXXX.XXXXXXXXX.com/geoserver/web/
and enter the login details page will be redirected to http://localhost:8080/geoserver/j_spring_security_check,it supposed to take me inside GeoServer again with https link
2
Answers
After 3 days ,finally I figured out the issue. You have to do the below steps to make it work :
This problem can be solved with JVM parameter
-DALLOW_ENV_PARAMETRIZATION=true
and environment variablePROXY_BASE_URL=https://XXXXX.XXXXXXXXXX.XXXX/geoserver
.Tested on kartoza/geoserver:2.20.1 (snippet from docker-compose.yml):