diff --git a/nginx.conf b/nginx.conf index ae06241..df576c5 100644 --- a/nginx.conf +++ b/nginx.conf @@ -3,14 +3,15 @@ events {} http { server { listen 80 default_server; - server_name _; - root /var/www/html; + server_name _; location / { + root /var/www/html; + index index.html; } location /img { - include /etc/nginx/mime.types; + include /etc/nginx/mime.types; alias /var/www/html/img; }