mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
[manual] Add endpoint to cleanup a finished events queue.
This requires a puppet apply on each of staging and prod0 to update the nginx configuration to support the new URL when it is deployed. (imported from commit a35a71a563fd1daca0d3ea4ec6874c5719a8564f)
This commit is contained in:
@@ -84,6 +84,7 @@ class Resource(resource.Resource):
|
||||
request.requestHeaders.setRawHeaders('X-Forwarded-Host', [proxy_host])
|
||||
|
||||
if (request.uri in ['/json/get_events'] or
|
||||
request.uri.startswith('/json/events') or
|
||||
request.uri.startswith('/api/v1/events') or
|
||||
request.uri.startswith('/sockjs')):
|
||||
return proxy.ReverseProxyResource('localhost', tornado_port, '/'+name)
|
||||
|
||||
Reference in New Issue
Block a user