0

Fedora 20 64ビットでlaravelプロジェクトをホストしようとしています

私はすべてをインストールしました:

  • 私のSQL:15.1
  • NGINX:1.4.7
  • PHP: 5.5.26
  • そしていつものように他の小さなこと

マイポータルが表示され続ける

404 Not found 

server {

        listen   80;
        root /usr/share/nginx/my-site/public;


        index index.php index.html index.htm;

        location / {
                try_files $uri/ $uri /index.php?$query_string;
        }

        location ~ \.php?$ {

                try_files  $uri =404;
                fastcgi_pass 127.0.0.1:9000;
                fastcgi_index  index.php;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;


                fastcgi_read_timeout 300;
                fastcgi_intercept_errors on;
                fastcgi_split_path_info ^(.+\.php)(.*)$;

                #Prevent version info leakage
                fastcgi_hide_header X-Powered-By;
                proxy_read_timeout 300;
                include fastcgi_params;
        }


}

Nginx config でここに何かを設定するのを忘れましたか?


フォルダの詳細

drw-r--r--.  12 root root  4096 Jan 21 17:13 my-site

Web サーバーの所有者

ps aux|grep nginx|grep -v grep

root      92177  0.0  0.2 118484  2140 ?        Ss   10:41   0:00 nginx: master process /usr/sbin/nginx
nginx     92178  0.0  0.3 118868  3460 ?        S    10:41   0:00 nginx: worker process

4

0 に答える 0