Get php-fpm working, and add nginx vhost template for php-fpm

This commit is contained in:
Adnan Abdulhussein
2015-05-28 12:31:45 -07:00
parent d0046d1fc3
commit 3acaf8b349
+16
View File
@@ -0,0 +1,16 @@
server {
listen 0.0.0.0:80;
server_name local.yourapp.com;
root /app;
location / {
index index.php;
}
location ~ \.php$ {
fastcgi_pass [PHP_FPM_LINK_NAME]:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
}