From c121b8ba755ed75b85ba246240a44cae6984dbd4 Mon Sep 17 00:00:00 2001 From: AHMZA Date: Wed, 8 Dec 2021 23:20:18 +0000 Subject: [PATCH] changed root --- nginx.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;