Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: archlinux, nginx É php-fastcgi...
- To: nginx-ru@xxxxxxxxx
- Subject: Re: archlinux, nginx É php-fastcgi...
- From: "Alexey Karagodov" <karagodov@xxxxxxxxx>
- Date: Mon, 8 Oct 2007 12:13:00 +0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=uublyv2qmggzmzcYuK3t1C42lawhaeUGGta9qyFiAo8=; b=rsshkitp8SC9DBuOEwe77AeyBnG5gZ/NIQWqUV0I5eEreY2tcdYka4t9C9+IxviL9PfVFHd7nyUN4O/CNNheCKJKIJdBR/aHF3A9sf1ZdboRKJQYDCx5iykWnM1HQjZZcD5jpN6cH9+pPR9tFSDauqSHgIyPpwFPHjNyijSDZGU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=UMlltjh3nFzG107IQwoqubqq75bZHnhJoTUn9259AhS1zajFGSgkliOMAhcQe9dTm2a0gaAA/eH5b0hZunlemVCHhpkcWtUAxf/t6uqTT/HeCRHB/NepZTq72mQAwCVUKMrvpvTTlVMMnOgqKGklwdbbkj50Q1GoIkLoRTa9h2s=
- In-reply-to: <4709D43B.4050506@xxxxxx>
- References: <4709D43B.4050506@xxxxxx>
ËÁÇ-ÔÏ ÔÁÇ, ËÏÅ ËÁÇ ÒÁÂÏÔÁÅÔ:
fastcgi_param QUERY_STRING $query_string;
fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param REQUEST_URI $request_uri; # fastcgi_param REQUEST_BODY_FILE $request_body_file;
fastcgi_param DOCUMENT_URI $document_uri; fastcgi_param DOCUMENT_ROOT $_document_root;
fastcgi_param PATH_TRANSLATED $_document_root$fastcgi_script_name;
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_PROTOCOL $server_protocol; fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;
fastcgi_param SERVER_ADDR $server_addr; fastcgi_param SERVER_PORT $server_port; fastcgi_param SERVER_NAME $server_name;
fastcgi_param REMOTE_ADDR $remote_addr; fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param REMOTE_USER $remote_user;
# fastcgi_param REDIRECT_STATUS 200;
upstream php-cluster { # ip_hash; } server { server_name *.example.*; set $_document_root /srv/www/example;
access_log /srv/logs/example/access.log extended_proxy;
location ~ \.php$ {
fastcgi_index index.php; include include/fastcgi_param; # fastcgi_pass_request_body off;
# client_body_in_file_only clean; root $_document_root; fastcgi_pass php-cluster;
include include/error_MISSING; include include/error_FAILURE; } }
|