merged nginx-php role into this one
This commit is contained in:
parent
6d087a3938
commit
c1113aea9b
8 changed files with 2417 additions and 0 deletions
7
files/php-fpm/snippet-php
Normal file
7
files/php-fpm/snippet-php
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
location ~ \.php$ {
|
||||
try_files $uri $uri/ /index.php;
|
||||
include /etc/nginx/fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param REDIRECT_STATUS 200;
|
||||
fastcgi_pass php-handler;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue