fastcgi_pass unix:/run/php5-fpm.sock; include fastcgi_params; fastcgi_param SCRIPT_FILENAME /etc/nginx/cgi-bin.php; fastcgi_param X_SCRIPT_FILENAME $request_filename;