<br clear="all">hy <br> when i try to go to my website in local like <a href="http://mediawiki.dedibox.fr/">http://mediawiki.dedibox.fr/</a> , i get the message <br><h1>It works!</h1>
<p>This is the default web page for this server. etc...</p><p><br></p><p>but normally i must have my index.php and not that , i don' t understand why i get this message .</p><p><br></p><p>this is my nginx.conf <br></p>
<p> <br></p><p><span style="font-family:comic sans ms,sans-serif"><i>events {<br> worker_connections 1024;<br>}<br><br><br>http {<br> include mime.types;<br> passenger_root /usr/local/xxxx/ruby-1.9.3-p125/gems/passenger-3.0.19;<br>
passenger_ruby /usr/local/xxxx/ruby-1.9.3-p125/ruby;<br> passenger_max_pool_size 10;<br><br><br><br> default_type application/octet-stream;<br><br> sendfile on;<br>## TCP options <br> tcp_nopush on;<br>
tcp_nodelay on;<br>## Timeout<br> keepalive_timeout 65;<br><br> types_hash_max_size 2048;<br> server_names_hash_bucket_size 128;<br> proxy_cache_path /mnt/donner/nginx/cache levels=1:2 keys_zone=one:10m;<br>
gzip on;<br> server_tokens off;<br><br></i></span></p><p><span style="font-family:comic sans ms,sans-serif"><i> include /usr/local/xxx/nginx/vhosts-available/*;<br> include /usr/local/xxx/nginx/vhosts-available/*.conf;<br>
</i></span></p><p><span style="font-family:comic sans ms,sans-serif"> server {<br></span></p><span style="font-family:comic sans ms,sans-serif"><i> listen 80;<br> passenger_enabled on;<br> passenger_use_global_queue on;<br>
<br> error_log /home/logs/nginx/error.log;<br> access_log /home/logs/nginx/access-global.log;<br> }<br>}</i></span><br><b><br><br>vhosts-available/mediawiki.conf</b><br><br>server {<br><br> listen 80 ;<br>
server_name <a href="http://mediawiki.dedibox.fr">mediawiki.dedibox.fr</a>;<br> root /home/sites_web/mediawiki;<br> index index.php index.html;<br> error_log /home/logs/mediawiki/error.log;<br>
access_log /home/logs/mediawiki/access.log;<br><br><br>location ~ .php$ {<br><br> fastcgi_pass <a href="http://127.0.0.1:9000">127.0.0.1:9000</a>;<br> fastcgi_index index.php;<br> fastcgi_param SCRIPT_FILENAME /home/sites_web/mediawiki/$fastcgi_script_name;<br>
include /usr/local/centOs/nginx/conf/fastcgi_params;<br><br> }<br>}<br><br><br>thank you very much for your help . <br>And have a good day <br>