forum.vochat.com Forum Index forum.vochat.com
discussions about Voodoo chat
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Не дружит nginx с чатом

 
Post new topic   Reply to topic    forum.vochat.com Forum Index -> Инсталляция
View previous topic :: View next topic  
Author Message
DarkHost



Joined: 08 Mar 2009
Posts: 1

PostPosted: Mon Mar 09, 2009 2:58 pm    Post subject: Не дружит nginx с чатом Reply with quote

Есть некий сайт, на котором отображается чат. Все отлично крутится на апаче. Решил я фронтендом поставить nginx. Сайт отображается, чат тоже, но тормоза у чата страшные. Грузится около 2 минут, отображает последние 4 сообщения и все. Отправляемые сообщения не отображаются.
Демон чата слушает:
Code:
$daemon_port = "9292";
$daemon_listen = "127.0.0.1";
$daemon_type = 2;
$modvoc_socket = "/tmp/vochat";
$max_connect = 1500;

nginx собран с горем пополам с модулем voc'овским. И в конфиге:
Code:
    server {
        listen       80;
        server_name  domain.ru;
        location / {
                proxy_pass         http://127.0.0.1:8080/;
                proxy_redirect     off;
                client_max_body_size       10m;
                client_body_buffer_size    128k;
                proxy_connect_timeout      90;
                proxy_send_timeout         90;
                proxy_read_timeout         90;
                proxy_buffer_size          4k;
                proxy_buffers              4 32k;
                proxy_busy_buffers_size    64k;
                proxy_temp_file_write_size 64k;
                    }
        location ~* ^.+\.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|wav|bmp|rtf|js)$ {
                root   /usr/home/www/instincts.ru;
                                                                                                                    }
        location /chat {
                voc /tmp/vochat;
                proxy_pass         http://127.0.0.1:9292/;
                proxy_redirect     off;

                        }
            }

Очень прошу помощи. Как подружить чат с nginx.
Back to top
View user's profile Send private message
MaxDs



Joined: 17 Jul 2007
Posts: 17

PostPosted: Wed Aug 12, 2009 12:33 am    Post subject: Reply with quote

Ап!
Вопрос все ещё в силе.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vochat.com Forum Index -> Инсталляция All times are GMT + 3 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group