From 43681eb3e835ec5dc36297caa13315f3692bcab9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 30 Aug 2017 10:07:24 +0200 Subject: duplicate php71 stuff --- nginx-php.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 nginx-php.conf (limited to 'nginx-php.conf') diff --git a/nginx-php.conf b/nginx-php.conf new file mode 100644 index 0000000..9b01536 --- /dev/null +++ b/nginx-php.conf @@ -0,0 +1,14 @@ +# 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$ { + try_files $uri =404; + fastcgi_intercept_errors on; + fastcgi_index index.php; + include fastcgi_params; + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + fastcgi_pass php-fpm; +} -- cgit