Browse files

Fixed redirect to online-right-now.net

  • Loading branch information...
1 parent 99fa21d commit 5c71581f0950f7c6bddedf1deacb473b426155c0 chricke committed Dec 12, 2010
Showing with 7 additions and 2 deletions.
  1. +7 −2 nginx/online-right-now
View
9 nginx/online-right-now
@@ -2,7 +2,9 @@ server {
listen 80;
server_name online-right-now.net *.online-right-now.net onlinerightnow.net *.onlinerightnow.net;
- rewrite ^/(.*) http://online-right-now.net/$1 permanent;
+ if ($host != 'online-right-now.net' ) {
+ rewrite ^/(.*) http://online-right-now.net/$1 permanent;
+ }
access_log /var/log/nginx/online-right-now.access.log;
@@ -28,7 +30,10 @@ server {
location ~ ^/LXe0HFLo/(\d*)$ {
set $push_channel_id $1;
push_publisher;
- push_store_messages off;
+ push_store_messages on;
+ push_message_buffer_length 1;
+ push_message_timeout 2h;
+ push_min_message_recipients 0;
}
location ~ ^/counter/(\d*)$ {

0 comments on commit 5c71581

Please sign in to comment.