Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add ssl ? #58

Open
maciejsk opened this issue Nov 8, 2022 · 1 comment
Open

How to add ssl ? #58

maciejsk opened this issue Nov 8, 2022 · 1 comment

Comments

@maciejsk
Copy link

maciejsk commented Nov 8, 2022

Hi
Is there any FAQ how to add SSL to geoserver on docker?

Is there any environment parameter in docker-compose?

How to add this to geoserver? I need to add domain ssl ex: https://wms.mygeoserver.com:8600/geoserver/web/

I can add no ssl version and it work ok.

@buehner
Copy link
Member

buehner commented Nov 9, 2022

There is no out-of-the-box solution for SSL/HTTPS in this docker image. It could be solved on the tomcat level, but usually you want to make use of a lightweight http proxy server component (like nginx). For example, you could create a docker-compose setup with an nginx and a geoserver service. nginx would be exposed to the "outer world" and provide the SSL security, but GeoServer would only live inside the docker container. Then you have to configure your nginx to act as a proxy for the geoserver to forward requests accordingly.

Googe something like "docker compose nginx ssl" and you should find a lot of information for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants