openvibers/openvibe.chat Commits

openvibe.live's /api/emotes goes to Chat (plan T3): Chat has owned the emotes table since 2026-09-29 14:46 UTC and serves the emote API with Live's paths, shapes and limits; POST /api/emotes (upload) and /api/emotes/* get Live's /api/ zone, burst and body size.

OP OpenVibers committed 29 Sept 2026 · 04d2625d98 · 1 file, +26 −0


Changes

ddiff --git a/deploy/nginx/openvibe.live-chat.locations.conf b/deploy/nginx/openvibe.live-chat.locations.conf
iindex c4e9cf2..8f26303 100644
---- a/deploy/nginx/openvibe.live-chat.locations.conf
++++ b/deploy/nginx/openvibe.live-chat.locations.conf
@@@ -82,3 +82,29 @@ location ^~ /api/sounds/ {
proxy_set_header CF-Connecting-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
}
++
++
++# The emote API (plan T3): Chat owns the emotes table since 2026-09-29. POST /api/emotes (upload) has no trailing path.
++location = /api/emotes {
++ limit_req zone=api_limit burst=40 nodelay;
++ client_max_body_size 10m;
++ proxy_pass http://127.0.0.1:4400;
++ proxy_http_version 1.1;
++ proxy_set_header Host $host;
++ proxy_set_header X-Real-IP $remote_addr;
++ proxy_set_header X-Forwarded-For $remote_addr;
++ proxy_set_header CF-Connecting-IP $remote_addr;
++ proxy_set_header X-Forwarded-Proto $scheme;
++}
++
++location ^~ /api/emotes/ {
++ limit_req zone=api_limit burst=40 nodelay;
++ client_max_body_size 10m;
++ proxy_pass http://127.0.0.1:4400;
++ proxy_http_version 1.1;
++ proxy_set_header Host $host;
++ proxy_set_header X-Real-IP $remote_addr;
++ proxy_set_header X-Forwarded-For $remote_addr;
++ proxy_set_header CF-Connecting-IP $remote_addr;
++ proxy_set_header X-Forwarded-Proto $scheme;
++}