Skip to content

Commit

Permalink
Correct location block for SS4
Browse files Browse the repository at this point in the history
SS4 uses /index.php so the location block and documentation need to also
use that.
  • Loading branch information
Fred Condo committed Jan 31, 2018
1 parent 6159475 commit 30dfb13
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ server {
try_files $uri =404;
}
location ~ /framework/.*(main|rpc|tiny_mce_gzip)\.php$ {
location /index.php {
fastcgi_buffer_size 32k;
fastcgi_busy_buffers_size 64k;
fastcgi_buffers 4 32k;
Expand Down Expand Up @@ -89,8 +89,7 @@ server {
```

The above configuration sets up a virtual host `example.com` with
rewrite rules suited for SilverStripe. The location block for framework
php files passes all the php scripts to the FastCGI-wrapper via a TCP
socket.
rewrite rules suited for SilverStripe. The location block for index.php
passes the php script to the FastCGI-wrapper via a TCP socket.

Now you can proceed with the SilverStripe installation normally.

0 comments on commit 30dfb13

Please sign in to comment.