fastcgi servers

rkmr.em at rkmr.em at
Fri Nov 23 23:54:09 MSK 2007

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

 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_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: <>

More information about the nginx mailing list