Skip to content
This repository
Browse code

example urls

  • Loading branch information...
commit 7587b85ad5f1db7dc80d1c293434ccc6b3a6c0e4 1 parent 56aac76
Leo P. authored October 16, 2009

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  README
8  README
@@ -99,7 +99,7 @@ http {
99 99
 
100 100
   server {
101 101
     #sender
102  
-    location / {
  102
+    location /send {
103 103
       set $push_channel_id $arg_id; #/?id=239aff3 or somesuch
104 104
       push_sender;
105 105
       push_message_timeout 2h; #buffered messages expire after 2 hours
@@ -107,7 +107,7 @@ http {
107 107
     }
108 108
 
109 109
     #receiver
110  
-    location / {
  110
+    location /listen {
111 111
       push_listener;
112 112
 	  push_listener_concurrency broadcast;
113 113
       set $push_channel_id $arg_id; #/?id=239aff3 or somesuch
@@ -119,8 +119,8 @@ http {
119 119
 	
120 120
 ---------------------------- Operation ---------------------------------------
121 121
 Assuming the example config given above:
122  
-Clients will connect to http://example.com:8088/?id=... and have the 
123  
-response delayed until a message is POSTed to http://localhost:8089/?id=...
  122
+Clients will connect to http://example.com/listen?id=... and have the 
  123
+response delayed until a message is POSTed to http://example.com/send?id=...
124 124
 Messages can be sent to clients that have not yet connected, i.e. they are 
125 125
 queued.
126 126
 

0 notes on commit 7587b85

Please sign in to comment.
Something went wrong with that request. Please try again.