fastcgi_pass_header Cookie;
fastcgi_pass_header Set-Cookie;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
- if (!-f $document_root$fastcgi_script_name) {
- # This is a robust solution for path info security issue and works with "cgi.fix_pathinfo = 1" in /etc/php.ini (default)
- return 404;
- }
+ try_files $fastcgi_script_name =404;
+ # Check for path info security issue
+
fastcgi_pass unix:/run/php5/fpm/letabli;
}