Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #228441

Re: Can nginx "events" block be configured in an include file?

From Dave Sherohman <dave@sherohman.org>
Newsgroups linux.debian.user
Subject Re: Can nginx "events" block be configured in an include file?
Date 2020-11-03 15:10 +0100
Message-ID <B75ax-2iz-3@gated-at.bofh.it> (permalink)
References <B71zZ-8l3-13@gated-at.bofh.it> <B744N-1rd-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Nov 03, 2020 at 07:57:40AM -0500, Greg Wooledge wrote:
> On Tue, Nov 03, 2020 at 03:35:58AM -0600, Dave Sherohman wrote:
> > tl;dr:  I need to increase worker_connections on my nginx servers, but
> > don't want to edit the debian-provided nginx.conf due to that causing
> > future upgrade hassles.  Is this possible?

> No.

Ah, well.  That's what I expected, but thanks for confirming it.

Another (off-list) reply suggested using a script to edit nginx.conf
rather than doing it by hand, which looks like the best solution for my
specific case.  My site-specific config files are generated from
templates using a Perl deployment script, and I also have hooks there
which I can use to edit nginx.conf without needing to generate the whole
thing from a template, and that will also handle nginx config changes
coming from debian by re-patching the config the next time we deploy.

-- 
Dave Sherohman

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Can nginx "events" block be configured in an include file? Dave Sherohman <dave@sherohman.org> - 2020-11-03 11:20 +0100
  Re: Can nginx "events" block be configured in an include file? Greg Wooledge <wooledg@eeg.ccf.org> - 2020-11-03 14:00 +0100
    Re: Can nginx "events" block be configured in an include file? Dave Sherohman <dave@sherohman.org> - 2020-11-03 15:10 +0100
      Re: Can nginx "events" block be configured in an include file? David Wright <deblis@lionunicorn.co.uk> - 2020-11-03 17:10 +0100
        Re: Can nginx "events" block be configured in an include file? Dave Sherohman <dave@sherohman.org> - 2020-11-04 16:30 +0100
      Re: Can nginx "events" block be configured in an include file? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-11-04 07:40 +0100

csiph-web