Reverse proxying sync relay

Sorry for noobish question, but can I use nginx for reverse proxying Syncthing relay to sub.domain.tld:443? I need it to be accessible across http proxy at work. I tried it with some default proxy-set-header options, but I get “protocol negotiation error”.

On a side note, do I need discovery server if I manually set relay address in connection settings?

Relay protocol is not a http protocol. The only stuff that uses http is the metrics endpoint, but that’s just for reporting stats.

Well, I guess that was expected, and I’m out of luck. Thanks.