cannot load php page, please help

feelexit nginx-forum at nginx.us
Sun Sep 26 05:26:23 MSD 2010


in my "/usr/local/nginx/sites-enabled", theres only one file "default"

here's the code.


[code]
server  {
    listen       80;
    server_name  localhost;
 
    location /  {
        root   html;
        index  index.php index.html index.htm;
    }
 
    # redirect server error pages to the static page /50x.html
    error_page   500 502 503 504  /50x.html;
    location = /50x.html
    {
        root   html;
    }
}
[/code]


mike Wrote:
-------------------------------------------------------
> Show us which sites-enabled site config this is.
> 
> On Sep 25, 2010, at 5:34 PM, "feelexit"  wrote:
>

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,134116,134124#msg-134124




More information about the nginx mailing list