geonode-project icon indicating copy to clipboard operation
geonode-project copied to clipboard

too many redirects - docker installation

Open ferchimi opened this issue 2 years ago • 4 comments

I'm trying to run a geonode 3.3.x project behind an haproxy which already deals with SSL/TLS certificates and redirects, then proxies http plain traffic to the dockerized nginx that geonode deploys whenever I hit my https URL, dockerized nginx redirects back to https, and so on, generating a loop and TOO_MANY_REDIRECTS how can I permanently disable https on the nginx and listen to the correct host? my .env file section looks like this HTTP_HOST=mygeonodehost.example

and LETSENCRYPT_MODE=disabled

note that this also happens for geoserver host, which i don't want to expose publicly and is configured for use inside private network as follows GEOSERVER_WEB_UI_LOCATION=http://10.10.102.99/geoserver/ GEOSERVER_PUBLIC_LOCATION=http://10.10.102.99/geoserver/ GEOSERVER_LOCATION=http://geoserver:8080/geoserver/ GEOSERVER_ADMIN_USER=admin GEOSERVER_ADMIN_PASSWORD=geoserver

Please help Regards, Fernando

ferchimi avatar Mar 22 '22 19:03 ferchimi