feat: add control center, multiple relay nodes and P2P-first transport

This commit is contained in:
tongtong committed 2026-11-12 16:56:06 +08:00
1 parent 0988e9c363
commit 2abfb63da9
44 files changed
+3477 -67

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
# Include inside the existing ttstd.com HTTPS server block.
# URI prefix /ads-relay-1/ is stripped before forwarding to the relay.
location = /ads-relay-1 {
return 308 /ads-relay-1/;
}
location ^~ /ads-relay-1/ {
proxy_pass http://127.0.0.1:18082/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_buffering off;
proxy_request_buffering off;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
# Do not cache authenticated requests or log tickets in query strings.
proxy_cache off;
proxy_hide_header Cache-Control;
add_header Cache-Control "no-store" always;
access_log off;
}