iOS auto upload not working when SSL is enabled

I posted it on the old forum(please see the link below) and hopefully I could get more help here.
The current error is
upload-file.c(1989): [upload] Missing Content-Type header


Edited nginx configuration


above is the nginx configuration.

Just tested auto upload on Android and it’s the same. Folder is created but no photos are uploaded. It must be something wrong with my settings. Disable SSL and all work fine. Don’t know why.

Please ignore it. It’s working fine now.