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

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

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

java - Cannot secure connection using TLS -