Welcome! Log In Create A New Profile

Advanced

Re: How to patch and/or upgrade Nginx from source in production environment?

October 13, 2022 12:04PM
Thank you for your reply!

I should have mentioned that I'm running in an Ubuntu environment so I'm
not sure if that makes much difference? I like the idea of installing from
source because I can control all of the options, but I'm wondering if it's
worth going that route in a production environment?

Thoughts? Opinions?

Ed

On Thu, Oct 13, 2022 at 3:49 PM PGNet Dev <pgnet.dev@gmail.com> wrote:

> Nginx is an easy build from source, thankfully.
>
> Deploying tarbal'd local source-builds to other machines is not terrible
> at all if you isolate your install DIR (e.g, 'everything' under
> /opt/nginx); ansible is your friend.
>
> But, it's a bit of a slog to deploy into usual distro env, avoid
> collisions, and if needed, cleanly uninstall. Certainly doable, but can be
> messy.
>
> To solve for that inconvenience, build your own packages from own sources
> on an open build system (e.g., SUSE's OBS, Fedora's COPR, etc), and install
> those packages via rpms.
> Or for that matter, even local rpmbuilds should be portable, as long as
> you correctly account for differences in target deployment ENVs.
>
> yes, rpm .spec files can be annoying. it's a trade-off.
>
>
> > I'm curious how many people run Nginx in a production environment that
> was installed from source and not a package.
> >
> > For those people who are running Nginx in this manner, how do you keep
> Nginx patched when patches are released?
> >
> > How do you upgrade your existing Nginx in your production environment
> while minimizing downtime?
> >
> > Thank you,
> > Ed
> >
> > _______________________________________________
> > nginx mailing list -- nginx@nginx.org
> > To unsubscribe send an email to nginx-leave@nginx.org
>
>
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

How to patch and/or upgrade Nginx from source in production environment?

edflecko October 13, 2022 11:42AM

Re: How to patch and/or upgrade Nginx from source in production environment?

PGNet Dev October 13, 2022 11:50AM

Re: How to patch and/or upgrade Nginx from source in production environment?

edflecko October 13, 2022 12:04PM

Re: How to patch and/or upgrade Nginx from source in production environment?

Thomas Ward October 13, 2022 12:12PM

Re: How to patch and/or upgrade Nginx from source in production environment?

PGNet Dev October 13, 2022 12:20PM

Re: How to patch and/or upgrade Nginx from source in production environment?

edflecko October 13, 2022 12:24PM

Re: How to patch and/or upgrade Nginx from source in production environment?

PGNet Dev October 13, 2022 01:12PM

Re: How to patch and/or upgrade Nginx from source in production environment?

edflecko October 13, 2022 01:40PM

Re: How to patch and/or upgrade Nginx from source in production environment?

PGNet Dev October 13, 2022 01:56PM

Re: How to patch and/or upgrade Nginx from source in production environment?

edflecko October 13, 2022 04:22PM

Re: How to patch and/or upgrade Nginx from source in production environment?

Sergey A. Osokin October 13, 2022 12:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 112
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready