fastcgi servers
rkmr.em at gmail.com
rkmr.em at gmail.com
Sun Nov 25 00:36:29 MSK 2007
thanks a lot!
works great!!!! nginx ROCKS!!!!
On Nov 23, 2007 11:34 PM, Rapsey <rapsey at gmail.com> wrote:
> 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.em at gmail.com <rkmr.em at gmail.com> 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;
> > }
> >
> > }
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20071124/707ddc92/attachment.html>
More information about the nginx
mailing list