hello<br clear="all"><br>I try to put a virtual host (server block) on my website, i have some issue.<br><br>I have read the nginx tutorial for creat server block but after a lot of  time i can't get my server block and i dont understand why.<br>
Do you have something to configure on /etc/hosts or resolv.conf ?<br><br><br>this is my server block for my website.<br><br><b><i>/vhosts-anable/test.conf</i></b><br><i><span style="font-family:times new roman,serif">server {<br>
        listen          80;<br>        server_name  <a href="http://sd-32587.dedibox.fr">sd-32587.dedibox.fr</a>;# localhost; <br><br>       # == Document ROOT<br>       root /home/sites_web/<a href="http://www.test.com/public">www.test.com/public</a>;<br>
<br>       rails_env development;<br>       passenger_enabled on;<br><br>} </span></i><br><br>And this is my conf for the virtual-host.<br><b><i>/vhosts-anable/pipou.conf</i></b><br><i><span style="font-family:times new roman,serif">server {<br>
<br>            listen 80 ;<br>            server_name <a href="http://websvn.sd-32587.dedibox.fr">websvn.sd-32587.dedibox.fr</a>; #websvn.localhost *.localhost;<br>#            rewrite ^/(.*) <a href="http://localhost/$1">http://localhost/$1</a> permanent;<br>
#            server_name_in_redirect off;<br>#            rewrite ^ <a href="http://websvn.sd-32587.dedibox.fr">http://websvn.sd-32587.dedibox.fr</a>$1 permanent;<br>            root /home/sites_web/websvn;<br>            index index.html;<br>
            error_log  /home/logs/websvn/error.log;<br>            access_log /home/logs/websvn/access.log;<br>}</span></i><br><br>when i m going to <b><i><span style="font-family:times new roman,serif"><a href="http://websvn.sd-32587.dedibox.fr">websvn.sd-32587.dedibox.fr</a></span></i><span style="font-family:times new roman,serif"></span></b><span style="font-family:times new roman,serif"> i have an error . <br>
Could you help me please <br>thk a lot <br></span>