mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #566 from pitchandtone/patch-4
Added nginx buffer size
This commit is contained in:
commit
2c5f4201b7
@ -21,10 +21,13 @@ Now you need to setup a virtual host in Nginx with the following configuration s
|
|||||||
error_page 404 /framework/main.php;
|
error_page 404 /framework/main.php;
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
|
include fastcgi_params;
|
||||||
fastcgi_pass 127.0.0.1:9000;
|
fastcgi_pass 127.0.0.1:9000;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_param SCRIPT_FILENAME /home/yoursite.com/httpdocs$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME /home/yoursite.com/httpdocs$fastcgi_script_name;
|
||||||
include fastcgi_params;
|
fastcgi_buffer_size 32k;
|
||||||
|
fastcgi_buffers 4 32k;
|
||||||
|
fastcgi_busy_buffers_size 64k;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user