Welcome! Log In Create A New Profile

Advanced

Re: Изменение конфига после обновления nginx с 0.8.36 до 0.8.54

January 19, 2011 08:41PM
Разобрался, все проще оказалось, кому интересно, сделал так:
[code]
location / {
index index.php index.html index.htm;
try_files $uri $uri/ @shlcms;
}
location ~ .php$ {
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_pass unix:/tmp/fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
include fastcgi_params;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_intercept_errors on;
fastcgi_ignore_client_abort off;
fastcgi_connect_timeout 60;
fastcgi_send_timeout 180;
fastcgi_read_timeout 180;
fastcgi_buffer_size 128k;
fastcgi_buffers 4 256k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
}
location @shlcms {
rewrite ^/(.*)$ /index.php;
}

[/code]
Subject Author Posted

Изменение конфига после обновления nginx с 0.8.36 до 0.8.54

Halfi January 04, 2011 05:20AM

Re: Изменение конфига после обновления nginx с 0.8.36 до 0.8.54

Halfi January 11, 2011 05:44AM

Re: Изменение конфига после обновления nginx с 0.8.36 до 0.8.54

Halfi January 19, 2011 03:48PM

Re: Изменение конфига после обновления nginx с 0.8.36 до 0.8.54

Halfi January 19, 2011 08:41PM

Re: Изменение конфига после обновления nginx с 0.8.36 до 0.8.54

Max Ivanov January 20, 2011 03:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 59
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready