mirror of
https://github.com/chatmail/relay.git
synced 2026-08-10 10:30:51 +00:00
fix: List Iroh proxy endpoints used by 0.35 and 1.0, drop stale /relay/probe from earlier versions
This commit is contained in:
@@ -128,7 +128,10 @@ http {
|
|||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
}
|
}
|
||||||
|
|
||||||
location /relay/probe {
|
# Endpoints Iroh uses for net_report probes and that clients
|
||||||
|
# probe to tell whether this relay works. Both paths are served
|
||||||
|
# by iroh-relay 0.35 and by the 1.0 line.
|
||||||
|
location /ping {
|
||||||
proxy_pass http://127.0.0.1:3340;
|
proxy_pass http://127.0.0.1:3340;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user