рабочий конфиг nginx+rails+fastcgi
RaPaMaN
rapaman at virthost.net
Thu Oct 26 23:10:13 MSD 2006
Добрый день,
location / {
fastcgi_pass unix:/home/develop/ruby/fcgi.socket;
fastcgi_index index.html;
fastcgi_param DOCUMENT_ROOT /home/develop/ruby/public;
fastcgi_param
SCRIPT_FILENAME /home/develop/ruby/public$fastcgi_script_name;
fastcgi_param
PATH_TRANSLATED /home/develop/ruby/public$fastcgi_script_name;
fastcgi_connect_timeout 60;
fastcgi_send_timeout 180;
fastcgi_read_timeout 180;
fastcgi_buffers 4 128k;
fastcgi_buffer_size 128k;
fastcgi_intercept_errors on;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param REDIRECT_STATUS 200;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param SERVER_SOFTWARE "nginx";
fastcgi_param GATEWAY_INTERFACE "CGI/1.1";
fastcgi_param SERVER_NAME $server_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param REMOTE_USER $remote_user;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
}
В сообщении от Thursday 26 October 2006 22:26 Vsevolod Balashov написал(a):
> Здравствуйте!
> может у кого валяется конфиг? непойму как настроить перенаправление
> через unix socket
> WBR
С Уважением,
Дмитрий.
--
Информационный портал о вэб-сервере nginx - http://www.nginx.info
Удаленное администрирование серверов -
http://remote-admin-service.encrypted-life.net
More information about the nginx-ru
mailing list