Hi,
I am trying to run a php/mysql site on EE and can not get it working.
Basically, this is what is needed in my server block in order to run my invoicing site pancakeapp.com
But I need to modify it to work with EE setup.
`server { root /path/to/pancake; listen 80; server_name billing.yourdomain.com; include /etc/nginx/mime.types;
location / {
try_files $uri $uri/ @router;
index index.html index.php;
error_page 403 = @router;
error_page 404 = @router;
}
location ~ (.php|\/[^./]+)$ {
rewrite ^(.*)$ /index.php break;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
location @router {
rewrite ^(.*)$ /index.php break;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}`
Any idea what I need to change fastcgi_pass 127.0.0.1:9000;
in to in order to work. I tried fastcgi_pass php;
which is what WordPress seems to run with but nothing?
Any help?