Problem with uploading documents in wp-content/uploads


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. when entered on the browser automatically rewrites to and gives an error.

Not sure how to solve this.

Site is a wp multisite install in nginx environment.