Unity video won't play video from https url

I am having issues with getting Unity to play my video through the url with https.

I get this error:

WindowsVideoMedia error 0x80072f8f while reading

Context: MFCreateSourceReaderFromURL
Error details: Content decoding has failed

This is my setup. I have a website that I have a subdomain on. I have a SSL certificate on the website and the subdomain. This is all working. I have a VPS. The subdomain points to the VPS. I have Nginx running for my server. This works fine.

If I put in my https address into a web browser it works and plays just fine. If I put it in the Unity URL it gives the above error. If I just use http it will play in the Unity editor but not on Android. Android requires the URL to be https to play the file. I am stuck on why it works in the browser and not in Unity.
I have also uploaded the video to my website. When I do this and use the https it plays fine in the editor and on Android. Thanks for any help