#Virtual Host configuration for example.com # # You can move that to a different file under sites-available/ and symlink that # to sites-enabled/ to enable it. # server { listen 80; listen [::]:80; server_name ecole.lan; root /var/www/html/www.ecole.lan; index index.html; location / { try_files $uri $uri/ =404; } } server { listen 80; listen [::]:80; server_name doc.lan; root /var/www/html/doc.lan; autoindex on; # index index.html; location / { try_files $uri $uri/ =404;