mirror of
https://github.com/zulip/zulip.git
synced 2025-11-21 15:09:34 +00:00
Fix longpolling treatment for api.zulip.com/v1/events.
(imported from commit 78029972938ad7c9aa862330e38965b4b032c935)
This commit is contained in:
@@ -103,7 +103,8 @@ server {
|
|||||||
include /etc/nginx/zulip-include/location-sockjs;
|
include /etc/nginx/zulip-include/location-sockjs;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /json/get_events|/json/events|/api/v1/events {
|
# On api.zulip.com, there's an automatic leading /api
|
||||||
|
location ~ /v1/events {
|
||||||
proxy_pass https://prod;
|
proxy_pass https://prod;
|
||||||
include /etc/nginx/zulip-include/proxy_longpolling;
|
include /etc/nginx/zulip-include/proxy_longpolling;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user