changed root

This commit is contained in:
AHMZA
2021-12-08 23:20:18 +00:00
parent 37d2e21cf7
commit c121b8ba75
+1 -2
View File
@@ -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;