php - No input file specified while using Nginx -


i create server recently, , use nginx web server.

i did : service nginx force-reload

  • reloading nginx configuration nginx [ ok ]

then service nginx status

  • nginx running

knowing site running, when go it. see no input file specified. wired ???

here have in /etc/nginx/sites-available/default

server {     listen 80 default_server;     server_name default;     root /default/public; 

can please me fix ?

i fix problem assign document root correct path :

root /home/forge/default/public;

if see no input file specified., make sure set root correct path.


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -