Score:0

Install latest version of Nginx on Ubuntu

cn flag

I can see that the latest mainline version of nginx is 1.23.4

http://nginx.org/en/download.html

My Ubuntu server is running nginx version: nginx/1.22.1

I have tried these commands but it still updates to 1.22.1.

sudo add-apt-repository ppa:ondrej/nginx
sudo apt update
sudo apt remove nginx
sudo apt install nginx

Is version 1.23.4 not available for Ubuntu ?

in flag
What's wrong with the [official installation instructions](https://www.nginx.com/resources/wiki/start/topics/tutorials/install/#official-debian-ubuntu-packages)? It contains packages up to 1.24.
HBruijn avatar
in flag
Generally (enterprise) Linux distributions like Ubuntu ship with a specific version and will backport security fixes (when necessary) and remain on that version for the life time of that (major) Ubuntu release. As long as you regularly apply (security) updates on your still supported Ubuntu (LTS) release you won't need to upgrade to the latest upstream version to remain secure and/or fix known bugs.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.