65bab1fd30
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/php#967a6d4c478bb51712c696ebbafcb921e19a84a8
17 lines
473 B
Plaintext
17 lines
473 B
Plaintext
# pass the PHP scripts to FastCGI server
|
|
#
|
|
# See conf.d/php-fpm.conf for socket configuration
|
|
#
|
|
index index.php index.html index.htm;
|
|
|
|
location ~ \.(php|phar)(/.*)?$ {
|
|
fastcgi_split_path_info ^(.+\.(?:php|phar))(/.*)$;
|
|
|
|
fastcgi_intercept_errors on;
|
|
fastcgi_index index.php;
|
|
include fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
fastcgi_pass php-fpm;
|
|
}
|