Update nginx to 1.20

OS type and version: ubuntu 20.04
Webmin version: 1.973
Virtualmin version: 6.16
Related products version: nginx 1.18.0

Hello everyone!
I would like to upgrade Nginx, I added the official repository to my apt but I upgrade it directly because there is a difference on packages name.
I have virtualmin-lemp-stack installed that wants nginx-full | nginx-extras packages.The official package name is nginx (with no suffix)

Package: virtualmin-lemp-stack
Version: 6.1.4+ubuntu-20.04

Depends: bsdutils, libcrypt-ssleay-perl, unzip, zip, fcgiwrap, openssl, python3, nginx-full | nginx-extras, webmin-virtualmin-nginx, webmin-virtualmin-nginx-ssl, php-pear, php-cgi, php-cli, php-fpm, php-mysql, ntpdate, postfix, postfix-pcre

Package: nginx-full
Version: 1.18.0-0ubuntu1.2

my question is: how I can update Nginx to 1.20 version without losing my configurations on Virtualmin?

thank you!

What “official repository” do you mean?

I’m sorry Joe!
I meant the Nginx official repository

So, they just have one package called nginx? (Unlike Ubuntu/Debian that have several packages that bundle various combinations of nginx+modules.)

If so, I guess I can push a new version of the stack metapackages that allows nginx to satisfy the dependency.

But, also…are you really sure you want to do this? 1.18 is fine (I don’t know of any major new capabilities in 1.20), and using the OS-provided package is going to always be the best tested path and the most likely to Just Work, including with Virtualmin but not just with Virtualmin. I don’t know whether their package uses standard paths…you might break things in surprising ways (or maybe not…it’s completely untested by us).

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.