Safari Nginx PHP Upload Progress Bar Fix
Budget: $250 – $750 USD
This issue happens in Safari on MacOS with a Nginx server. Must have a Mac to work on this issue as it does not happen in Chrome or Firefox.
I have a simple file upload script and with a slow connection (< 5 mbps) in Safari the upload progress event is not fired when going to a normal php script as the correct interval. I have figured out this is a problem with the server the upload is doing the POST command to as it does not happen to all URL's.
I have a URL for example to show the issue not happening.
The server is running Almalinux, with latest PHP and Nginx server already setup.
In the screen shot attached, when I slow my connection to 1.5 Mbps, the upload immediately jumps to 7% complete and the progress update interval is not fired often.
If I go to a URL that I know works, the update interval is fired every few ms with no issue as it should do.
This is not a PHP script issue, this is a server configuration issue that I am stuck on trying to figure out.
I will provide access to the server for someone to figure out what is going on here, once a fix is found I need the instructions on how to fix so I can apply it to other servers.
Thank you
I have a simple file upload script and with a slow connection (< 5 mbps) in Safari the upload progress event is not fired when going to a normal php script as the correct interval. I have figured out this is a problem with the server the upload is doing the POST command to as it does not happen to all URL's.
I have a URL for example to show the issue not happening.
The server is running Almalinux, with latest PHP and Nginx server already setup.
In the screen shot attached, when I slow my connection to 1.5 Mbps, the upload immediately jumps to 7% complete and the progress update interval is not fired often.
If I go to a URL that I know works, the update interval is fired every few ms with no issue as it should do.
This is not a PHP script issue, this is a server configuration issue that I am stuck on trying to figure out.
I will provide access to the server for someone to figure out what is going on here, once a fix is found I need the instructions on how to fix so I can apply it to other servers.
Thank you