Nextcloud with IIS rewrite large file upload

I have nextcloud installed on a Ubuntu VM. The VM is running on Windows Server 2012. I have implemented IIS rewrite and redirect and everything works fine expect large file upload. Anything over 4GB fails with a unable to locate the target error. Local host and smaller uploads work fine. Does anyone have any idea how to fix this?

Nextcloud version : 11
Operating system and version 16.04
Apache
PHP version (eg, 5.6): 7
Is this the first time you’ve seen this error?: N/A

Can you reliably replicate it? (If so, please outline steps):

The issue you are facing: