21 April 2013 at 2:01pm
I try to install SilverStripe on my Linux server with Nginx/php-fpm.
My nginx config file similar to this one [url]http://doc.silverstripe.org/framework/en/installation/nginx[/url], just "root" and php-fpm socket are different.
So what I do wrong?
Different nginx config [url]http://www.sspaste.com/paste/show/505bf25860775[/url] helped me but i am not sure is it secure config or not.
Sorry if this isn't really helpful.
But I'd recommend Apache for PHP. php-fpm seems to have heaps of issues, it's a very delicate set up with Ngnix. Crashes frequently in my experience.
If you're after the speed Nginx offers with static files, have an Apache Silver Stripe set up which statically exports the entire site to a live Nginx server. Then you'll have a blindingly fast site which wont touch PHP. Also you won't have security issues, and just a default install of Nginx. Again sorry this doesn't really address your configuration issue.