Our server running NGINX had mandatory Ubuntu upgrades which we installed. After the installation, we receive the above error message when we type in the site URL. The site error occurs when trying to access the site via its IP address. We have reviewed all the nginx support suggestions. None of them resolve the connection problem. Does anyone have any suggestions on how to fix?
- 3018
Comments
so after hours of research we discovered that the new version of php 8.4.5 was not being called by una which was calling for version 8.3. We no longer get bad gateway error but now the site is responding 404 not found. This is obviously a glitch tied to the php but call function but we can't find where to update it. Suggestions?
The problem was caused by some wrong lines in the file /etc/nginx/sites-available/mainsite. First of all, it was not including the file /etc/nginx/una_params, which contains correct PHP settings. If your PHP version changes, you need to edit the file una_params, not mainsite.
This is very helpful. It seems the Ubuntu updates included a change to the PHP version. I believe this would be useful info to include somewhere in the Wiki. Thank you for your assistance in resolving.