added default document root
This commit is contained in:
parent
2a556f4721
commit
794642eef0
@ -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" '
|
||||||
|
Loading…
Reference in New Issue
Block a user