Correct location block for SS4

SS4 uses /index.php so the location block and documentation need to also
use that.
This commit is contained in:
Fred Condo 2018-01-30 17:11:25 -08:00 committed by Daniel Hensby
parent 8d6d985a7c
commit 6976d09bba
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E

View File

@ -44,7 +44,7 @@ server {
try_files $uri =404; try_files $uri =404;
} }
location ~ /framework/.*(main|rpc|tiny_mce_gzip)\.php$ { location /index.php {
fastcgi_buffer_size 32k; fastcgi_buffer_size 32k;
fastcgi_busy_buffers_size 64k; fastcgi_busy_buffers_size 64k;
fastcgi_buffers 4 32k; fastcgi_buffers 4 32k;
@ -89,8 +89,7 @@ server {
``` ```
The above configuration sets up a virtual host `example.com` with The above configuration sets up a virtual host `example.com` with
rewrite rules suited for SilverStripe. The location block for framework rewrite rules suited for SilverStripe. The location block for index.php
php files passes all the php scripts to the FastCGI-wrapper via a TCP passes the php script to the FastCGI-wrapper via a TCP socket.
socket.
Now you can proceed with the SilverStripe installation normally. Now you can proceed with the SilverStripe installation normally.