carlwgeorge / rpms / php

Forked from rpms/php 5 years ago
Clone
48afca5
# pass the PHP scripts to FastCGI server
48afca5
#
48afca5
# See conf.d/php-fpm.conf for socket configuration
48afca5
#
48afca5
index index.php index.html index.htm;
48afca5
48afca5
location ~ \.php$ {
48afca5
    try_files $uri =404;
48afca5
    fastcgi_intercept_errors on;
48afca5
    fastcgi_index  index.php;
48afca5
    include        fastcgi_params;
48afca5
    fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
48afca5
    fastcgi_pass   php-fpm;
48afca5
}