Syncthing sync (not management GUI) behind HAProxy - using SNI

Thank you very much @calmh and @Nummer378. I was afraid that I’ll get an answer “stop hacking into Syncthing, go away”. Thank you.

Interesting idea. Thank you.

Thank you @Nummer378. You’re reading my mind since I’d love to run Syncthing on 443 with other websites. But that’s phase 2. Phase 1 is to run multiple Syncthing instances on a single unused port.

Ouh! I had no idea! I googled this article how to replace the key.pem and cert.pem? - #4 by rogerAppleby where @calmh explained:

So you can pre-create the directory and certificate+key, and on first startup Syncthing will generate the default config etc.

So yeah! I’ll dust off my openssl skills and try it. Thank you both!

1 Like