Initial commit.
This commit is contained in:
14
nginx/default.d/php.conf
Normal file
14
nginx/default.d/php.conf
Normal file
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user