merged nginx-php role into this one

This commit is contained in:
nd 2019-04-09 21:01:39 +02:00
parent 6d087a3938
commit c1113aea9b
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
8 changed files with 2417 additions and 0 deletions

View 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;
}