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

HTTPS / SSL support in built-in httpd? #440

Open
Offbeatmammal opened this issue Nov 22, 2020 · 2 comments
Open

HTTPS / SSL support in built-in httpd? #440

Offbeatmammal opened this issue Nov 22, 2020 · 2 comments

Comments

@Offbeatmammal
Copy link

I saw back in 2018 in #169 that there were (at that point) no plans to enable native SSL support in pouchdb-server, but that was before the move by most browsers to actively block insecure requests from secure pages which makes something like

var remoteDB = new PouchDB('https://my.server.com:6984/database')
localDB.sync(remoteDB, {
....

a little harder without extra steps.

As httpd supports SSL and it appears pouchdb is sitting on top of that, is it possible to add support for the [SSL] configuration (or is there a trivial solution for doing this on a Windows/IIS combination that I'm missing which negates the need for this)?

@Offbeatmammal
Copy link
Author

FWIW, found a way to address this using IIS - https://medium.com/@gusterwoei/how-to-configure-reverse-proxy-on-windows-iis-52a48b90163a

@eklem
Copy link

eklem commented Sep 17, 2023

You should use a reverse proxy for this? Let pouchdb-server run on http and only accept connections on 127.0.0.1 / localhost.

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