Fix bug; nginx "realpath_root" variable is NULL when document root path is invalid.