# add the push_stream_shared_memory_size to your http context http { push_stream_shared_memory_size 32M;
# define publisher and subscriber endpoints in your server context server { location /channels-stats { # activate channels statistics mode for this location push_stream_channels_statistics;
# query string based channel id push_stream_channels_path $arg_id; }
location /pub { # activate publisher (admin) mode for this location push_stream_publisher admin;
# query string based channel id push_stream_channels_path $arg_id; }
location ~ /sub/(.*) { # activate subscriber (streaming) mode for this location push_stream_subscriber;