Re: nginx ignoring config file when started via systemd

2015-12-08 Thread theheadsage
Hi mex, It was installed via the RHEL 7 repo. I've managed to solve the issue, and so for anyone else experiencing this odd behavour the solution is to check the SELINUX file context. My config was in a file that had "unconfined_u:object_r:var_t:s0" and it needed "unconfined_u:object_r:httpd_con

How about to add splice

2015-12-08 Thread Aleksandar Lazic
Dear developer. Do you know the splice() feature in Linux? https://lwn.net/Articles/178199/ http://man7.org/linux/man-pages/man2/splice.2.html http://ogris.de/howtos/splice.html How about to add it ;-) BR Aleks ___ nginx mailing list nginx@nginx.org

Re: [nginx-announce] nginx-1.9.8

2015-12-08 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.9.8 for Windows http:// kevinworthington.com/nginxwin198 (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin based builds of Nginx. Officially supported native Windows binaries are at nginx.org. Announceme

Re: location ^~ modifier

2015-12-08 Thread B.R.
The location documentation states the following: *A location can either be defined by a prefix string, or by a regular expression.* Thus, ~ and ~* being regex modifiers, the rest is considered as being classified as 'prefix. That m

nginx-1.9.8

2015-12-08 Thread Maxim Dounin
Changes with nginx 1.9.8 08 Dec 2015 *) Feature: pwritev() support. *) Feature: the "include" directive inside the "upstream" block. *) Feature: the ngx_http_slice_module. *) Bugfix: a segmentation fault might occur in a worker process whe

try_files and expires

2015-12-08 Thread rainer
Hi, I have a case with a CMS (pimcore) and setting the expires directive. location / { # First attempt to serve request as file, then as directory, then fall back to index.php try_files $uri $uri/ /website/var/assets/$uri /index.php?$args; index index.php; } So

Nginx use ssl slow than ELB

2015-12-08 Thread huakaibird
Hi, I want to use nginx as LB to replace aws ELB, but found that it is much slower, it affected web users, sometime user will encounter access web time out. this is my configuration, please help to check if something is wrong. I use ssl. user nginx; worker_processes auto; worker_rlimit_nofile

Sending the body

2015-12-08 Thread Ortal
Hi, I am using the "Emiller's Guide To Nginx Module Development", in section "3.1.4. Sending the body", there is allocation to: ngx_chain_t out. I do not understand where is the free for this allocation? Should it be a handler which free the buf? Thanks, Ortal Levi Posted at Nginx Forum: ht

Re: location ^~ modifier

2015-12-08 Thread Francis Daly
On Mon, Dec 07, 2015 at 10:08:40PM +0100, B.R. wrote: Hi there, > Does the ^~ location modifier finds a matching string at the start of an > URI? Yes. > I naively thought it was just a variant of the classic prefix search, Yes. > without any constraint on the placement of the matched string i