Nginx Owncloud 4は「指定された入力ファイルなし」を生成します。

Nginx Owncloud 4は「指定された入力ファイルなし」を生成します。

nginxを使用してOwncloud 4インスタンスをWebサーバーに設定しようとしています。ホストデバイスは Debian 6 がプリインストールされた Raspberry Pi です。ブラウザでOwncloudインストールのURLを開こうとすると、No input file specified.Installation was located at /var/www/owncloud/owncloud.I am using it for spawn_fcgicgiです。
私のnginx設定ファイルは/etc/nginx/sites-available/default次のとおりです。

server {

    listen   80; ## listen for ipv4
    #listen   [::]:80 default ipv6only=on; ## listen for ipv6

    server_name raspberrypi;

    access_log  /var/log/nginx/localhost.access.log;

    root /var/www/owncloud/owncloud/;
    index index.php;

    # deny direct access
    location ~ ^/(data|config|\.ht|db_structure\.xml|README) {
            deny all;
    }

    # default try order
    location / {
            try_files $uri $uri/  @webdav;
    }

    # owncloud WebDAV
    location @webdav {
            fastcgi_split_path_info ^(.+\.php)(/.*)$;
            fastcgi_pass 127.0.0.1:9000; # or use php-fpm with: "unix:/var/run/php-fpm/php-fpm.sock;"
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            include fastcgi_params;
    }


    # enable php
    location ~ \.php$ {
            include fastcgi_params;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_pass 127.0.0.1:9000; # or use php-fpm with: "unix:/var/run/php-fpm/php-fpm.sock;"
    }

    location /doc {
            root   /usr/share;
            autoindex on;
            allow 127.0.0.1;
            deny all;
    }

    location /images {
            root   /usr/share;
            autoindex on;
    }

}

私の/etc/nginx/nginx.conf外観は次のとおりです。

user www-data;
worker_processes  1;

error_log  /var/log/nginx/error.log;  
pid        /var/run/nginx.pid;

events {
worker_connections  1024;
# multi_accept on;
}

http {
include       /etc/nginx/mime.types;

access_log  /var/log/nginx/access.log;

sendfile        on;
#tcp_nopush     on;

#keepalive_timeout  0;
keepalive_timeout  65;
tcp_nodelay        on;

gzip  on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";

include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}

誤った設定を特定するのに役立ちますか?

ベストアンサー1

おすすめ記事