Problem with uploading documents in wp-content/uploads

Hello,

There is a problem while uploading pdf or other docs in the wp-content/uploads folder. This is the folder where the files are stored whenever a file is uploaded on the editor page.

The url of the doc automatically changes from "wp-content/uploads" to "files" and gives a 404 file not found error.

eg. www.domain.com/wp-content/uploads/file1.pdf when entered on the browser automatically rewrites to www.domain.com/files/file1.pdf and gives an error.

Not sure how to solve this.

Site is a wp multisite install in nginx environment.

Thanks