koopjs / koop

Transform, query, and download geospatial data on the web.
http://koopjs.github.io
Other
667 stars 128 forks source link

How to configure HTTPS support? #301

Closed WalterPayne closed 7 years ago

WalterPayne commented 7 years ago

I've got my custom Koop provider working however since the server is only serving HTTP, I cannot consume it in Portal as it's expecting a HTTPS endpoint.

How do I configure Koop to respond on https?

dmfenton commented 7 years ago

Three options:

  1. use a web server in front of Koop like Nginx that handles http and https.
  2. use a loadbalancer like AWS ELB to handle https and https
  3. set the Koop express server to listen for https only