My Forge server has nginx 1.15.8. My PCI Compliance scan has failed because this version is EOL and out of service. So I need to upgrade, but my normal commands sudo apt-get update, sudo apt-get upgrade and sudo apt-get dist-upgrade don't seem to have changed the nginx version.
First, I'm wondering if upgrading nginx to the latest version like this is even something I should be looking to do (instead of say, starting with a brand new Forge server). The one huge caveat here is that I am running PHP 5.6 and need to be able to do this for some legacy code (I know, I know that's bad - an upgrade is in process).
Second, I'm wondering if someone might be able to point me in the right direction on how I could undertake this upgrade.
So the reason it might not update anything is because you're running on an older server as well since you use PHP 5.6. So what ubuntu version do you run?
It's recommended to update to a newer ubuntu version as well. In most cases, it's easier to spin up a new server. Deploy your application to the new server and switch your DNS to the new server.
nginx is already the newest version (1.15.8-0+bionic0).
It sounds like perhaps I'm running into the problem you described? Is there some way to force a more recent version? Or perhaps change the repository version of nginx?