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


Groups > linux.debian.user > #228456

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-04 16:30 +0100
Message-ID <B7sTv-CM-5@gated-at.bofh.it> (permalink)
References <B71zZ-8l3-13@gated-at.bofh.it> <B744N-1rd-3@gated-at.bofh.it> <B75ax-2iz-3@gated-at.bofh.it> <B772G-3rw-3@gated-at.bofh.it> <B7sTw-CM-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Nov 03, 2020 at 10:06:30AM -0600, David Wright wrote:
> On Tue 03 Nov 2020 at 08:03:24 (-0600), Dave Sherohman wrote:
> > 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.
> 
> I obviously haven't seen that suggestion, but why write a script
> yourself when software exists to do that already.

Because my deployment script already exists and does several things
other than editing nginx.conf, and I prefer being able to deploy with
one command instead of two.

> Patch, of course, has the same pedigree as Perl, both being creations
> of Larry Wall.

I'm passigly familiar with `patch`, but wasn't aware that Larry was the
original author.  Thanks for that tidbit!

-- 
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