Hosting docker via ssl

Hello,

I’m a total noob on docker, so here is the question

I’m setting up a ORS server and I need it to expose it’s port over SSL “https://localhost:[8080]/ors/v2/directions/driving-car(…)”.

Can you please point me in the direction of where I need to look to do this.

Thanks for your time

Pedro Gomes

Hi @pmgomes,

You need a webserver like nginx or apache to serve anything via ssl and should also generate a ssl certificate (e.g. letsencrypt).

However, this is rather a docker related question, so please read up on the topic in the corresponding documentation.

Best regards

1 Like

You need a webserver like nginx or apache to serve anything via ssl and should also generate a ssl certificate (e.g. letsencrypt).

However, this is rather a docker related question, so please read up on the topic in the corresponding documentation.

This.

In Docker you can set something like this up as a service and terminate your SSL through the nginx box as amandus says. You’d need to expose the SSL port from the nginx box and setup the backend for the service to be port 8080 on ORS.

1 Like