On 11/5/25 03:32, Christoph Liebender wrote:
[snip]

Not to mention... do I really have to copy paste each relay block as soon as I want relayd to be listening on multiple addresses? In nginx, one can simply say

listen 443 ssl;
listen [::]:443 ssl;

... while the equivalent in relayd appears to be ...

relay https4 {
    listen on 0.0.0.0 port 443 tls
    protocol revproxy
    forward to <ntfy> port 8888
    forward to <disco> port 9999
}

relay https6 {
    listen on :: port 443 tls
    protocol revproxy
    forward to <ntfy> port 8888
    forward to <disco> port 9999
}

... this obviously does not scale at all.

- Christoph

[1] https://docs.ntfy.sh/config/#nginxapache2caddy
[2] https://docs.syncthing.net/users/stdiscosrv.html#nginx


Interestingly, relayd is happy to have multiple listen on directives within a single relay so long as it's not listen on tls

I wonder if this is a bug or a feature.

Reply via email to