Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The server files are store in /var/www/

Everything was working perfectly, then I've been getting the following errors

2011/01/28 17:20:05 [error] 15415#0: *1117703 "/var/www/https:/" is not found (2: No such file or directory), client:, server:, request: "HEAD / HTTP/1.1", host: ""

Heres my config:

    server {
    listen       443;
    listen       [::]:443 default ipv6only=on;
    gzip         on;
    gzip_comp_level  1;
    gzip_types      text/plain text/html text/css application/x-javascript text/xml text/javascript;
    error_log logs/ssl.error.log;
    gzip_static on;
    gzip_http_version   1.1;
    gzip_proxied        any;
    gzip_disable        "msie6";
    gzip_vary           on;
    ssl          on;
    ssl_ciphers RC4:ALL:-LOW:-EXPORT:!ADH:!MD5;
    keepalive_timeout  0;
    ssl_certificate      /root/server.pem;
    ssl_certificate_key  /root/ssl.key;

       location / {
            root   /var/www;
            index  index.html index.htm index.php;
share|improve this question

Delete first slash from URL:


correct URL:
share|improve this answer
Delete what slash? is it config issue? which line do I need to modify? – user66700 Feb 27 '11 at 23:17
User open wrong URL in web browser. It's user error. – ooshro Feb 27 '11 at 23:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.