I have a issue with a server block (virtual host)

hy everybody
I try to create a virtual host (server block) on nginx, and i have two
issue.

When i m going to* http://localhost* ,i see my website
But when i try to go to the virtual host (server block) *
http://localhost/websvn*
I get an error because he try to find a webpage with the name websvn
on
my first website.
I don’t understand why ??

/conf/nginx.conf

http {

default_type  application/octet-stream;
proxy_cache_path /mnt/donner/nginx/cache levels=1:2 keys_zone=one:10m;
    listen       80;
    #server_name localhost;
    passenger_enabled on;
    passenger_use_global_queue on;

    error_log   /home/logs/nginx/error.log;
    access_log  /home/logs/nginx/access-global.log;
  }

}

/vhost-enable/srv-websvn.conf

server {

         }
       }


Cordialement

Olivier M.
tel : 06.62.25.03.77

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs