Commit 2607243f authored by Martin's avatar Martin Committed by Wandenberg

clarify basic configuration example and nginx versions compatibility to close...

clarify basic configuration example and nginx versions compatibility to close #145 and fix clone url to close #135

Co-Authored by: Roman Kuzmin <romanoza@gmail.com>
Signed-off-by: 's avatarWandenberg <wandenberg@gmail.com>
parent 0ec88e79
...@@ -27,6 +27,12 @@ This module is considered production ready. ...@@ -27,6 +27,12 @@ This module is considered production ready.
h1(#basic-configuration). Basic Configuration h1(#basic-configuration). Basic Configuration
<pre> <pre>
# 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 { location /channels-stats {
# activate channels statistics mode for this location # activate channels statistics mode for this location
push_stream_channels_statistics; push_stream_channels_statistics;
...@@ -50,6 +56,8 @@ h1(#basic-configuration). Basic Configuration ...@@ -50,6 +56,8 @@ h1(#basic-configuration). Basic Configuration
# positional channel path # positional channel path
push_stream_channels_path $1; push_stream_channels_path $1;
} }
}
}
</pre> </pre>
...@@ -156,10 +164,10 @@ h1(#installation). Installation <a name="installation" href="#">&nbsp;</a> ...@@ -156,10 +164,10 @@ h1(#installation). Installation <a name="installation" href="#">&nbsp;</a>
<pre> <pre>
# clone the project # clone the project
git clone http://github.com/wandenberg/nginx-push-stream-module.git git clone https://github.com/wandenberg/nginx-push-stream-module.git
NGINX_PUSH_STREAM_MODULE_PATH=$PWD/nginx-push-stream-module NGINX_PUSH_STREAM_MODULE_PATH=$PWD/nginx-push-stream-module
# get desired nginx version (works with 1.5.x, 1.4.x, 1.3.x, 1.2.x series) # get desired nginx version (works with 1.2.0+)
wget http://nginx.org/download/nginx-1.2.0.tar.gz wget http://nginx.org/download/nginx-1.2.0.tar.gz
# unpack, configure and build # unpack, configure and build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment