I m new to nginx my server block is
server {
listen 25552;
server_name *.example.com;
root /usr/share/myPackage;
rewrite ^/$ /index.php permanent;
location ~ ((\.php$)|(^/(status)$)) {
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
access_log /var/log/nginx/console-access.log;
}
Using browser i m able to get status 200 while hit my url - www.example.com:25552/index.php and same status for other php file but nothing is shown in the page. While i try to change the url and i am able to get my html,js and image file on my browser. What i think is that my php file are not getting parsed pls help me .... :)