Welcome! Log In Create A New Profile

Advanced

Re: Sypex Dumper 2. и nginx

February 04, 2010 07:56AM
[code]
localhost:~# cat /etc/nginx/sites-available/shah-online.ru
server {
listen 80;
server_name shah-online.ru;
root /var/www/sites/shah-online.ru;
access_log /var/log/nginx/shah-online.access.log;

location / {
try_files $uri $uri/ @drupal;
index index.php index.html index.htm;
}
location ~ ^/sdx/ {
root /var/www/sites/shah-online.ru/sdx;
index index.php;
location ~* \.php$ {
include fastcgi_php_fpm;
}
}


location ~ \.php$ {
try_files $uri @drupal;
include fastcgi_php_fpm;
}

location @drupal {
include fastcgi_php_fpm;
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
fastcgi_param QUERY_STRING q=$uri&$args;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param REDIRECT_STATUS 200;
fastcgi_param SCRIPT_NAME /index.php;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
}
}
[/code]
Subject Author Posted

Sypex Dumper 2. и nginx

alexd February 04, 2010 06:02AM

Re: Sypex Dumper 2. и nginx

Andrew Kopeyko February 04, 2010 07:24AM

Re: Sypex Dumper 2. и nginx

alexd February 04, 2010 07:43AM

Re: Sypex Dumper 2. и nginx

Дмитрий Андреев February 04, 2010 07:44AM

Re: Sypex Dumper 2. и nginx

alexd February 04, 2010 07:56AM

Re: Sypex Dumper 2. и nginx

alexd February 04, 2010 08:27AM

Re: Sypex Dumper 2. и nginx

alexd February 04, 2010 08:30AM

Re: Sypex Dumper 2. и nginx

Andrew Kopeyko February 04, 2010 08:20AM

Re: Sypex Dumper 2. и nginx

alexd February 04, 2010 03:15PM

Re: Sypex Dumper 2. и nginx

Naf Nafof February 05, 2010 01:20AM

Re: Sypex Dumper 2. и nginx

alexd February 05, 2010 08:12AM

Re: Sypex Dumper 2. и nginx

alexd February 05, 2010 12:55PM

Re: Sypex Dumper 2. и nginx

Naf Nafof February 05, 2010 08:30AM

Re: Sypex Dumper 2. и nginx

Дмитрий Андреев February 05, 2010 08:34AM

Re: Sypex Dumper 2. и nginx

Serge February 05, 2010 08:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 298
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready