added default document root

This commit is contained in:
Asif Bacchus 2019-01-04 02:45:37 -07:00
parent 2a556f4721
commit 794642eef0

View File

@ -30,6 +30,9 @@ http {
# set default index options for all sites # set default index options for all sites
index index.html index.htm; index index.html index.htm;
# set default document root for all sites
root /usr/share/nginx/html;
# logging options # logging options
log_format main '$remote_addr - $remote_user [$time_local] $request ' log_format main '$remote_addr - $remote_user [$time_local] $request '
'$status $body_bytes_sent "$http_referer" ' '$status $body_bytes_sent "$http_referer" '