diff --git a/nginx.conf b/nginx.conf index 67bda5c..3d7d705 100644 --- a/nginx.conf +++ b/nginx.conf @@ -28,12 +28,11 @@ http { access_log /var/log/nginx/access.log compression; # where the root here - root /var/www; + root /usr/share/nginx/html; # what file to server as index index index.html index.htm; location / { - root /usr/share/nginx/html # First attempt to serve request as file, then # as directory, then fall back to redirecting to index.html try_files $uri $uri/ /index.html;