added default document root

This commit is contained in:
Asif Bacchus 2019-01-04 02:45:37 -07:00
parent 2a556f4721
commit 794642eef0
1 changed files with 3 additions and 0 deletions

View File

@ -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" '