Geonovum / ogc-api-testbed

OGC API Testbed Template - Stable
https://apitestbed.geonovum.nl
GNU General Public License v3.0
4 stars 4 forks source link

geoserver references itself as http #24

Open pvgenuchten opened 3 years ago

pvgenuchten commented 3 years ago

for this reason css-includes and form submits fail

it seems related to x-forwarded-* params do not arrive in tomcat/geoserver

instead i've set the proxy path hard in settings, but now it doesn't work nicely locally...

justb4 commented 3 years ago

I can look into Traefik if it sends x-forwarded-* and scriptname HTTP headers.

Local and remote deployments with different settings is a common problem. A proven solution we took is to have symbolic identifiers/variables within config files and have their values substituted at deployment time based on an env variable or the hostname. See e.g. https://github.com/smartemission/docker-se-geoserver in particular entry.sh

pvgenuchten commented 3 years ago

I can look into Traefik if it sends x-forwarded-* and scriptname HTTP headers.

Please do