12-06-2012, 02:01 PM
/etc/nginx/conf.d
thre should be a default.conf
this it also needed
should be something like this
server {
listen 80 default_server;
server_name _;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
error_page 404 /404.html;
location = /404.html {
root /usr/share/nginx/html;
}
if its the same output as here so then your directory of your php files must be
/usr/share/nginx/html

