3 messages in ru.sysoev.nginxRe: fastcgi servers
FromSent OnAttachments
rkmr...@public.gmane.orgNov 23, 2007 12:53 pm 
RapseyNov 23, 2007 11:34 pm 
rkmr...@public.gmane.orgNov 24, 2007 1:36 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: fastcgi serversActions...
From:Rapsey (raps@public.gmane.org)
Date:Nov 23, 2007 11:34:32 pm
List:ru.sysoev.nginx

upstream servercom { server 127.0.0.1:44440; server 127.0.0.1:44441; server 127.0.0.1:44442; server 127.0.0.1:44443; server 127.0.0.1:44444; }

location ~ \.app$ { fastcgi_pass servercom; fastcgi_index stream.app; fastcgi_param SCRIPT_FILENAME /var/www/htdocs$fastcgi_script_name; include /etc/nginx/fastcgi.conf; }

On Nov 23, 2007 9:54 PM, rkmr@public.gmane.org
<rkmr@public.gmane.org> wrote:

hi guys how do i add more than one fastcgi server in the fastcgi module? thanks mark

my config is like this now:

server { listen 8080; server_name localhost;

#charset koi8-r;

#access_log logs/host.access.log main;

location /static { root /home/mark/work/groupcards; } location / { root /home/mark/work/groupcards;

fastcgi_pass 127.0.0.1:8083;

fastcgi_param SCRIPT_FILENAME $fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_script_name; fastcgi_param QUERY_STRING $query_string; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param REMOTE_ADDR $remote_addr; fastcgi_param REMOTE_PORT $remote_port; fastcgi_param SERVER_PROTOCOL $server_protocol; fastcgi_param SERVER_ADDR $server_addr; fastcgi_param SERVER_PORT $server_port; fastcgi_param SERVER_NAME $server_name; }