From 794642eef0329362bbe2ea368739d972c88c5672 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Fri, 4 Jan 2019 02:45:37 -0700 Subject: [PATCH] added default document root --- nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx.conf b/nginx.conf index 29e11e9..aed1455 100644 --- a/nginx.conf +++ b/nginx.conf @@ -30,6 +30,9 @@ http { # set default index options for all sites index index.html index.htm; + # set default document root for all sites + root /usr/share/nginx/html; + # logging options log_format main '$remote_addr - $remote_user [$time_local] $request ' '$status $body_bytes_sent "$http_referer" '