Gwt CreateFile();D:/nginx-1.9.12/nginx-1.9.12/html/war/helloworld/greet";失败(2:系统找不到指定的文件)

Gwt CreateFile();D:/nginx-1.9.12/nginx-1.9.12/html/war/helloworld/greet";失败(2:系统找不到指定的文件),gwt,nginx,file-permissions,Gwt,Nginx,File Permissions,我是nginx的新手。我正在尝试实现一个基本的hello world程序,用于远程登录GWT。我能够使用Tomcat成功地登录。 类似地,我尝试在两台服务器上运行一个RPC(同样是Hello World)程序,在tomcat中运行得非常好,但在nginx中失败。 以下是我的nginx.conf: user www-data; worker_processes 1; error_log logs/error.log error; #pid logs/nginx.pid;

我是nginx的新手。我正在尝试实现一个基本的hello world程序,用于远程登录GWT。我能够使用Tomcat成功地登录。 类似地,我尝试在两台服务器上运行一个RPC(同样是Hello World)程序,在tomcat中运行得非常好,但在nginx中失败。 以下是我的nginx.conf:

user  www-data;
worker_processes  1;

error_log  logs/error.log  error;
#pid        logs/nginx.pid;


events {
    worker_connections  1024;
}


    http {
            include       mime.types;
            default_type  application/octet-stream;

            sendfile        on;
            tcp_nopush     on;

            #keepalive_timeout  0;
            keepalive_timeout  65;
    server {
                listen       80;
                server_name  localhost;

                #charset koi8-r;

                location / {
                root   D:/nginx-1.9.12/nginx-1.9.12/html;
                index  index.html index.htm;

        }

        #error_page  404              /404.html;

        # redirect server error pages to the static page /50x.html
        #
        error_page   500 502 503 504  /50x.html;
        error_page  405     =200 $uri;
        location = /50x.html {
            root   html;
        }

        # proxy the PHP scripts to Apache listening on 127.0.0.1:80
        #
        #location ~ \.php$ {
        #    proxy_pass   http://127.0.0.1;
        #}

        # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
        #
        #location ~ \.php$ {
        #    root           html;
        #    fastcgi_pass   127.0.0.1:9000;
        #    fastcgi_index  index.php;
        #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
        #    include        fastcgi_params;
        #}

        # deny access to .htaccess files, if Apache's document root
        # concurs with nginx's one
        #
        #location ~ /\.ht {
        #    deny  all;
        #}
    }


    # another virtual host using mix of IP-, name-, and port-based configuration
    #
    #server {
    #    listen       8000;
    #    listen       somename:8080;
    #    server_name  somename  alias  another.alias;

    #    location / {
    #        root   html;
    #        index  index.html index.htm;
    #    }
    #}


    # HTTPS server
    #
    #server {
    #   listen       443 ssl;
    #   server_name  localhost;
    #   ssl_certificate      cert.pem;
    #   ssl_certificate_key  cert.key;
    #
    #   ssl_session_cache    shared:SSL:1m;
    #   ssl_session_timeout  5m;

    #   ssl_ciphers  HIGH:!aNULL:!MD5;
    #   ssl_prefer_server_ciphers  on;
    #
    #   location / {
    #   root   html;
    #   index  index.html index.htm;
    #    }
    #}

}
这是错误日志中的日志:

2016/03/15 11:42:55 [warn] 5676#2408: "user" is not supported, ignored in D:\nginx-1.9.12\nginx-1.9.12/conf/nginx.conf:1

2016/03/15 11:43:08 [error] 5676#896: *1 CreateFile() "D:/nginx-1.9.12/nginx-1.9.12/html/war/helloworld/greet" failed (2: The system cannot find the file specified), client: 127.0.0.1, server: localhost, request: "POST /war/helloworld/greet HTTP/1.1", host: "localhost", referrer: "http://localhost/war/HelloWorld.html"
经过大量的搜索,我认为这是一个许可问题。我的用户没有写入权限。但我无法解决这个问题。 感谢您的帮助。
提前感谢。

面对与我相同的问题,简单地删除“ssl\u会话\u缓存共享:ssl:1m;”解决了问题。但是我不知道为什么。面对与我相同的问题,简单地删除“ssl\u session\u cache shared:ssl:1m;”解决了这个问题。但我不知道为什么。