replacement for php htaccess values in nginx
snippet in htaccess

replacement for php htaccess values in nginx

user988

location ~ \.php$ {
        expires off;
        include /etc/nginx/fastcgi_params;
        fastcgi_pass  127.0.0.1:9000;
        fastcgi_index index.php;
        fastcgi_param  SCRIPT_FILENAME  /var/www//httpdocs/$fastcgi_script_name;
        fastcgi_param  PHP_VALUE   "auto_prepend_file=/var/www/your_folder/Resources/Core.php";
    }