self-hosted icon indicating copy to clipboard operation
self-hosted copied to clipboard

Request the support for HTTPS connection

Open winest opened this issue 4 years ago • 0 comments

Describe the issue I would like to setup all service with HTTPS.

In before the ruby rails sync-server time, I can simply modify the start command from bundle exec rails server -b 0.0.0.0 to bundle exec rails server -b 'ssl://0.0.0.0:3000?key=/syncing-server/privkey.pem&cert=/syncing-server/fullchain.pem' and simply add volume in docker-compose to mount my SSL key.

However, recently all my clients are forced upgraded by platform's store, I found that I have to upgrade my server to keep my data sync. And the new layout of nodejs server seems keep most parts in docker images, and I failed to find out a feasible way to enable https connection. (I cannot find what to add in NodeJS)

As HTTPS is the basic protection of user data, I would expect HTTPS can be default supported and on, or at least have a way to enable it without the need to modify docker images.

Service Versions (please complete the following information):

  • syncing-server-js: 3.19.0
  • auth: latest
  • api-gateway: latest

Logs If applicable, add logs to help debug your problem.

winest avatar Jul 21 '21 08:07 winest