Hi,
I have multiple upstream servers configured in an upstream block in my nginx
configuration.
upstream example2 {
server example2.service.example.com:8001;
server example1.service.example.com:8002;
}
server {
listen 80;
server_name example2.com;
location / {
proxy_set_h
Hi peter,
I generate configs already using a template engine (more specific Laravel
Blade), so creating the functionality in the template is easy, however, I
generally don’t like having server blocks that can be 100s of lines because of
repeating things
I don’t know the internals of nginx full
I agree that avoiding if is a good thing. But avoiding duplication isn’t always
good.
Have you considered a model where your configuration file is generated with a
templating engine? The input file that you modify to add/remove/change
configurations could be free of duplication but the conf fi
Hi guys,
I have a few hundred nginx zones, where I try to remove as much duplicate code
as possible, and inherit as much as possible to prevent nginx from consuming
memory (and also to keep things clean).
However I came across something today, that I don’t know how to get my head
around withou
On 07/03/2018 14:38, Wiktor Kwapisiewicz via nginx wrote:
[...]
> This looks *very good*, thanks for your time!
Thanks for your testing, Wiktor.
--
Maxim Konovalov
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
> below is the initial version of patch that creates the
> "$ssl_preread_alpn_protocols" variable; the content is a comma-separated
> list of protocols, sent by client in ALPN extension, if present.
>
> Any feedback is appretiated.
>
I have just tested this patch and can confirm it's working per
Grrr that swift keyboard. There is no space before the capital V.
nginx -V
I'd be surprised if that command doesn't work now. Any reason you haven't
upgraded to Centos 7?
Original Message
From: nginx-fo...@forum.nginx.org
Sent: March 7, 2018 1:53 AM
To: nginx@nginx.org
Reply-to: nginx@ng
thankyou for your feedback gariac.
# nginx - V
nginx: invalid option: "V"
I think this may be because I have the 'yum install' version of nginx and
not the tarball. TIA for any further ideas.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,278950,278952#msg-278952
___
nginx - V
will show what modules are installed.
Original Message
From: nginx-fo...@forum.nginx.org
Sent: March 7, 2018 12:24 AM
To: nginx@nginx.org
Reply-to: nginx@nginx.org
Subject: newbie: nginx rtmp module
I'm running centos 6 and installed nginx using 'yum install nginx'. Videos
are n
I'm running centos 6 and installed nginx using 'yum install nginx'. Videos
are not working and I don't know whether I have the rtmp module or not. Here
is the text from the yum install:
Installing:
collectd-nginx x86_64
4.10.9-4.el6
On Tue, Mar 06, 2018 at 10:38:21PM -0500, Sergey Sandler wrote:
> Thank you, Valentin.
>
> There is something I am missing. Please see the start of the error.log
> below,
>
> 2018/03/04 14:05:50 [notice] 5144#9212: using the "select" event method
> 2018/03/04 14:05:50 [notice] 5144#9212: using th
11 matches
Mail list logo