| #error_log /dev/stderr debug; |
| error_log /dev/stderr notice; |
| #error_log err.log notice; |
| pid /tmp/nginx-debug.pid; |
| worker_connections 90000; |
| proxy_cache_path /tmp levels=1:2 keys_zone=cache:1m; |
| push_min_message_buffer_length 5; |
| push_max_message_buffer_length 20; |
| location ~ /sub/broadcast/(\w+)$ { |
| push_subscriber_concurrency broadcast; |
| location ~ /sub/first/(\w+)$ { |
| push_subscriber_concurrency first; |
| location ~ /sub/last/(\w+)$ { |
| push_subscriber_concurrency last; |
| #authorized channels only -- publishers must create the channel before subscribing |
| location ~ /sub/authorized/(\w+)$ { |
| push_authorized_channels_only on; |