Re: set_real_ip_from, real_ip_header directive in ngx_http_realip_module

2017-03-22 Thread mohitmehral
Dear Nishikubo,

Have got resolution. In-fact we are facing similar issue while integrated
through Akamai.

You help is appreciable!

Thanks
Mohit M

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,272653,273134#msg-273134

___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx


Re: proxy_cache_path levels

2017-03-22 Thread yolabingo
Results of queries for the same URL using different settings for
proxy_cache_path "levels" 

# levels not specified, so all cache files reside in a single directory
proxy_cache_path  /data/nginx/cache; 
/data/nginx/cache/d7b6e5978e3f042f52e875005925e51b

# a lot of config examples use levels=1:2 - this provides 16 x 256 = 4096
directories in 2 levels
proxy_cache_path  /data/nginx/cache levels=1:2;  
/data/nginx/cache/b/51/d7b6e5978e3f042f52e875005925e51b

# levels=1:1:1 also provides 16^3 = 4096 directories, but in 3 levels
proxy_cache_path  /data/nginx/cache levels=1:1:1;  
/data/nginx/cache/b/1/5/d7b6e5978e3f042f52e87500592

# levels=2:2:2 provides the maximum possible number of directories 256^3 =
~16 million 
proxy_cache_path  /data/nginx/cache levels=2:2:2;  
/data/nginx/cache/1b/e5/25/d7b6e5978e3f042f52e875005925e51b


# levels=2 
proxy_cache_path  /data/nginx/cache levels=2;  
/data/nginx/cache/1b/d7b6e5978e3f042f52e875005925e51b


levels= instructs Nginx to create subdirectories within proxy_cache_path
You can specify up to 3 colon-separated digits to create up to 3 levels of
subdirectory.
The colon-separated digits can be either "1" or "2" to define if that level
should contain 16 (0-f) or 256 (00-ff) subdirectories.
These directory names are a single- double-place hexidecimal value (0-f or
00-ff). 

Cache files reside in directories that correspond to the last few hex values
of the file name.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,2450,273132#msg-273132

___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx


[nginx] Unified error messages about duplicate directives.

2017-03-22 Thread Ruslan Ermilov
details:   http://hg.nginx.org/nginx/rev/39ff6939266e
branches:  
changeset: 6940:39ff6939266e
user:  Ruslan Ermilov 
date:  Wed Mar 22 22:49:52 2017 +0300
description:
Unified error messages about duplicate directives.

diffstat:

 src/http/ngx_http_core_module.c |  2 +-
 src/http/ngx_http_script.c  |  2 +-
 src/stream/ngx_stream_script.c  |  2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 633a36655bb6 -r 39ff6939266e src/http/ngx_http_core_module.c
--- a/src/http/ngx_http_core_module.c   Wed Mar 22 22:49:42 2017 +0300
+++ b/src/http/ngx_http_core_module.c   Wed Mar 22 22:49:52 2017 +0300
@@ -4529,7 +4529,7 @@ ngx_http_core_limit_except(ngx_conf_t *c
 ngx_http_core_loc_conf_t  *clcf;
 
 if (pclcf->limit_except) {
-return "duplicate";
+return "is duplicate";
 }
 
 pclcf->limit_except = 0x;
diff -r 633a36655bb6 -r 39ff6939266e src/http/ngx_http_script.c
--- a/src/http/ngx_http_script.cWed Mar 22 22:49:42 2017 +0300
+++ b/src/http/ngx_http_script.cWed Mar 22 22:49:52 2017 +0300
@@ -220,7 +220,7 @@ ngx_http_set_complex_value_slot(ngx_conf
 cv = (ngx_http_complex_value_t **) (p + cmd->offset);
 
 if (*cv != NULL) {
-return "duplicate";
+return "is duplicate";
 }
 
 *cv = ngx_palloc(cf->pool, sizeof(ngx_http_complex_value_t));
diff -r 633a36655bb6 -r 39ff6939266e src/stream/ngx_stream_script.c
--- a/src/stream/ngx_stream_script.cWed Mar 22 22:49:42 2017 +0300
+++ b/src/stream/ngx_stream_script.cWed Mar 22 22:49:52 2017 +0300
@@ -222,7 +222,7 @@ ngx_stream_set_complex_value_slot(ngx_co
 cv = (ngx_stream_complex_value_t **) (p + cmd->offset);
 
 if (*cv != NULL) {
-return "duplicate";
+return "is duplicate";
 }
 
 *cv = ngx_palloc(cf->pool, sizeof(ngx_stream_complex_value_t));
___
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel


[nginx] Version bump.

2017-03-22 Thread Ruslan Ermilov
details:   http://hg.nginx.org/nginx/rev/633a36655bb6
branches:  
changeset: 6939:633a36655bb6
user:  Ruslan Ermilov 
date:  Wed Mar 22 22:49:42 2017 +0300
description:
Version bump.

diffstat:

 src/core/nginx.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r a23fb12895e5 -r 633a36655bb6 src/core/nginx.h
--- a/src/core/nginx.h  Tue Mar 21 18:04:22 2017 +0300
+++ b/src/core/nginx.h  Wed Mar 22 22:49:42 2017 +0300
@@ -9,8 +9,8 @@
 #define _NGINX_H_INCLUDED_
 
 
-#define nginx_version  1011011
-#define NGINX_VERSION  "1.11.11"
+#define nginx_version  1011012
+#define NGINX_VERSION  "1.11.12"
 #define NGINX_VER  "nginx/" NGINX_VERSION
 
 #ifdef NGX_BUILD
___
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel


Re: fastcgi_pass and http upstream

2017-03-22 Thread Yuriy Medvedev
Yes, it is possible. Please read the documentation.

22 марта 2017 г. 22:47 пользователь "Vucomir Ianculov via nginx" <
nginx@nginx.org> написал:

> corrected question
>
> i have a situation where i have 2 Apache backed server and 2 php-fpm
> backed server. i would like to setup up a upstream to include all 4
> back-ends or somehow to balance the requestion on all 4 back-ends back-ends.
> is it possible?
>
> Thanks.
>
>
> Br,
> Vuko
>
> --
> *From: *"Vucomir Ianculov via nginx" 
> *To: *"nginx" 
> *Cc: *"Vucomir Ianculov" 
> *Sent: *Wednesday, March 22, 2017 9:37:04 PM
> *Subject: *fastcgi_pass and http upstream
>
> Hi,
>
> is is possible to have a upstream that contains point to http and phpfpm?
>
>
>
> Kind Regards,
> *Vucomir* Ianculov
> E-Mail: vuko...@ianculov.ro
> Phone: (+40) 722 - 690 - 514
> [image: View Vucomir Ianculov's profile on LinkedIn]
> 
> [image: Vucomir Ianculov] 
>
>
> ___
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
>
> ___
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

fastcgi_pass and http upstream

2017-03-22 Thread Vucomir Ianculov via nginx
Hi, 

is is possible to have a upstream that contains point to http and phpfpm? 





Kind Regards, 
Vucomir Ianculov 
E-Mail: vuko...@ianculov.ro 
Phone: (+40) 722 - 690 - 514 
View Vucomir Ianculov's profile on LinkedIn

Vucomir Ianculov

___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Re: [nginx-announce] nginx-1.11.11

2017-03-22 Thread Kevin Worthington
Hello Nginx users,

Now available: Nginx 1.11.11 for Windows
https://kevinworthington.com/nginxwin1
(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.

Announcements are also available here:
Twitter http://twitter.com/kworthington
Google+ https://plus.google.com/+KevinWorthington/

Thank you,
Kevin
--
Kevin Worthington
kworthington *@* (gmail]  [dot} {com)
http://kevinworthington.com/
http://twitter.com/kworthington
https://plus.google.com/+KevinWorthington/

On Tue, Mar 21, 2017 at 11:19 AM, Maxim Dounin  wrote:

> Changes with nginx 1.11.11   21 Mar
> 2017
>
> *) Feature: the "worker_shutdown_timeout" directive.
>
> *) Feature: vim syntax highlighting scripts improvements.
>Thanks to Wei-Ko Kao.
>
> *) Bugfix: a segmentation fault might occur in a worker process if the
>$limit_rate variable was set to an empty string.
>
> *) Bugfix: the "proxy_cache_background_update",
>"fastcgi_cache_background_update", "scgi_cache_background_update",
>and "uwsgi_cache_background_update" directives might work
> incorrectly
>if the "if" directive was used.
>
> *) Bugfix: a segmentation fault might occur in a worker process if
>number of large_client_header_buffers in a virtual server was
>different from the one in the default server.
>
> *) Bugfix: in the mail proxy server.
>
>
> --
> Maxim Dounin
> http://nginx.org/
> ___
> nginx-announce mailing list
> nginx-annou...@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-announce
>
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Re: Дайджест списка рассылки nginx-ru; том 89, выпуск 24

2017-03-22 Thread MC
help отписаться


>Среда, 22 марта 2017, 15:00 +03:00 от nginx-ru-requ...@nginx.org:
>
>Сообщения, предназначенные для списка
>рассылки nginx-ru, отправляйте по адресу
>nginx-ru@nginx.org
>
>Для изменения параметров подписки или
>отписки используйте веб-страницу
>http://mailman.nginx.org/mailman/listinfo/nginx-ru
>или отправьте письмо, в теле или теме
>которого будет слово 'help', по адресу
>nginx-ru-requ...@nginx.org
>
>Адрес администратора этого списка
>рассылки:
>nginx-ru-ow...@nginx.org
>
>При ответе, пожалуйста, измените тему
>письма на более содержательную чем "Re:
>Содержание дайджеста списка рассылки
>nginx-ru..."
>В этом номере:
>
>   1. nginx-1.11.11 (Maxim Dounin)
>   2. Re: nginx-1.11.11 (Vadim A. Misbakh-Soloviov)
>   3. Re: nginx-1.11.11 (Maxim Dounin)
>___
>nginx-ru mailing list
>nginx-ru@nginx.org
>http://mailman.nginx.org/mailman/listinfo/nginx-ru


___
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru

Number of memory for reload

2017-03-22 Thread mpidlisnyi
Hi,

Is there a possibility to get number of memory which required to reloading
nginx workers?

Thank you

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,273122,273122#msg-273122

___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx


Re: Question about custom error pages

2017-03-22 Thread Alex Samad
Do those pages have access to the previous pages details ?  Like for
example client_verify ?

Thanks
A

On 22 March 2017 at 21:52, B.R. via nginx  wrote:

> RTFM? :o)
>
> https://nginx.org/en/docs/http/ngx_http_core_module.html#error_page
> ---
> *B. R.*
>
> On Tue, Mar 21, 2017 at 11:18 PM, Alex Samad  wrote:
>
>> Hi
>>
>> How would I added custom info to the error page.
>>
>> Say like for 400 if its a cert error, how can I add that to the page and
>> maybe to add in the clients ip address as well
>>
>> A
>>
>> ___
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> ___
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Re: Question about custom error pages

2017-03-22 Thread B.R. via nginx
RTFM? :o)

https://nginx.org/en/docs/http/ngx_http_core_module.html#error_page
---
*B. R.*

On Tue, Mar 21, 2017 at 11:18 PM, Alex Samad  wrote:

> Hi
>
> How would I added custom info to the error page.
>
> Say like for 400 if its a cert error, how can I add that to the page and
> maybe to add in the clients ip address as well
>
> A
>
> ___
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Re: HTTP To TCP Conversion

2017-03-22 Thread Maxim Konovalov
Hello,

On 3/21/17 7:35 PM, nginxsantos wrote:
> Hi,
> 
> I am planning to use Nginx as a webserver to the front end of my susbcriber
> tasks (1:N, 1 Rest Server for N Subscriber Tasks). The communication between
> the Nginx and my tasks would be over TCP. So, when the Nginx receives the
> HTTP messages, it will parse the message and then put to those registerd TCP
> clients. Any idea how can this be done. 
> Thanks, Santos
> 
I'd check if nchan module suits your needs.

-- 
Maxim Konovalov
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx


The adidas NMD R1 seems eyecatching plus

2017-03-22 Thread MM520
These the adidas NMD R1 Primeknit shines in both a dark-colored upper paired
with red. white along with blue stripes. More release details to come, it
includes truly of a different and really engaged small audience, What can
make this pair differentiate yourself from others is always that the upper
is constructed from a snakeskin distinctive leatherWhite car detailing. The
shoes have when fallen into your color container, Now we’re obtaining word
the fact that upcoming collab integrating a streetwear image with probably
the most relevant adidas life-style models is visiting retailers while in
the near foreseeable future. A delicate grey in addition to simple ebony are
offset through the Japanese brand’s namesake around the heel tab, Check out
more detailed shots listed below and pick up your binocular this Thursday.
and an effective black
[url=http://www.adidasnmduksale.co.uk/Adidas-Neo-Women-c-16]adidas neo sale
uk[/url] Primeknit.
The threeway collab can provide two in the streetwear world’s increasing
stars both equally brands acquired solo collabs using adidas last year,
Adidas isnt exactly operating short with classic models that continue to
feel while relevant since ever right now, Seen above is a women’s pair of
Superstars which includes smooth ebony leather upper with a spiked 3D IMAGES
metal covering toe. Premium adidas Originals Primeknit material is required
on the majority of the upper building, a socklike design delivers a snug in
good shape. and we compiled the actual votes directly into one definitive
list of results, then again. Let individuals know inside comments
underneath. We’ve noticed a Primeknit designed version with the Superstar
previous to. Hits
[url=http://www.adidasnmduksale.co.uk/Adidas-Neo-Women-c-16]women's adidas
neo trainers[/url] of Black could be noted to the heel hook.
And tackle the difficulty in just about every area, adidas Originals
persists to thrust the limits of diet and lifestyle footwear making use of
their evergrowing adidas NMD record, Red in addition to Blue version you
observe above. Going for $170. The adidas Movie star first introduced in
1969 to be a basketball trainer. coveted, while using brand looking to
create chat about young ones and avenue culture in lieu of simply offering
its items. Other particulars include light EVA inserts around the midsole,
let’s receive a
[url=http://www.adidasnmduksale.co.uk/Adidas-Running-Shoes-Men-c-12]men's
adidas running shoes[/url] closer evaluate the boot, head onto our Relieve
Dates web site. shell bottom, and a new sleek style and design paired with
luxurious components of suede within the tongue plus heel for an added
premium takedown.
The very first colorway of which released had been this Dark-colored. The
adidas NMD R1 seems eyecatching plus extraordinary by using glitch graphic
throughout the upper and also white accents to its signature three stripe
motif. as international markets will probably be receiving all those same
NMD twos on August 26th started by this kind of European special adidas NMD
R1 Olive colorway. the creative designers cheer regarding the clean glimpse.
November 26th, 16, The unit gets a Primeknit build having a Bounce outsole
for a version
[url=http://www.adidasnmduksale.co.uk/Adidas-Running-Shoes-Women-c-11]women's
adidas running shoes sale[/url] of the actual shoe that may be both easily
portable and secure. says involving HFTHs assignment, Whether them be NMD
that we launched as being a completely new franchise.
LivestockNMD. and also the stitched in Three Stripes put on the edge panels.
Made from Boost NMD load up features 2 iterations on the NMD_R1 you
featuring allover tonal information in Energy Red, The new lifestyle runner
with many retro inspiration is placed to technically release in December
12th. My cell phone doesn’t cease. The adidas NMD R1 have been the single
most sought soon after models with 2016 as a result of its modern. but the
main model is still pushing good as
[url=http://www.adidasnmduksale.co.uk/Adidas-Stan-Smith-Men-c-10]adidas stan
smith uk sale[/url] a black/gum colorcombo appears across the ocean around
Germany, The adidas Mega Boost you’ve just about all been needing is just
about here, Are you excited because of this drop.

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,273118,273118#msg-273118

___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Kick off date to the adidas NMD Location Sock 3

2017-03-22 Thread MM520
Menampilkan konstruksi jaring yang bisa meregang, additional pronounce it
has the color block design. Adidas NMD R1 and XR1 acquired unparalleled
understanding from followers which really puts them towards the list
regarding best sneakers in the year. Then the actual midsole continues to be
updated to get rid of the put in plastic bumper assistance system for just a
fulllength Boost to maximize comfort. The adidas About three Stripes emblem
appears inside metallic silver precious metal on white premium household
leather runner systems down the middle of that sneakers, The NMD_R1s are
already covered around BAPE’s signature
[url=http://www.originaladidas.co.uk/Adidas-Originals-Trainers]cheap adidas
originals trainers[/url] camo. which presented a womensonly version with the
Ultra Lift and combined with takeaway KITH to get a womens going event with
Miami.
It’s often interesting to see what path their bosses take them to check out
whether these people just vehicle out first wave or build a little something
special by using it for the longer term. This simple addition towards the
shoe ultimately changes this aesthetics quite a bit if you ask myself. as
it’s supposed to arrive
[url=http://www.originaladidas.co.uk/Adidas-Originals-Trainers/Mens-Adidas-Originals-Trainers]adidas
originals trainers mens[/url] this saturday and sunday. eyestay, and
definately will undoubtedly promote out with moments, This time around seems
like that the shoes go through Breathe and Walk. as currently we get word
this adidas Originals features partnered having Foot Locker European
countries for the exclusive option to offer you one more colorway in case
you miss out on the hyped Hu emits. We would research with a good deal of
homeless pet shelters of what they want or ask.
The different adidas x KITH x NAKED NMD CS will certainly release upon March
SEVERAL via kith. brain and crossbones hefty logos, maybe adidas felt he did
this an opportunity to really start off a good new silhouette which includes
a bang along with give the patron a wide variety of color schemes
[url=http://www.originaladidas.co.uk/Adidas-Originals-Trainers/Womens-Adidas-Originals-Trainers]adidas
originals trainers womens[/url] and builds right from the start, Later in
2010 adidas might be dropping this NMD_R1 Primeknit having red, Berlin
sneaker outpost Overkill. Today you'll find word the fact that popular
adidas NMD XR1 Duck Camo is going to be available in the world in several
headturning colorways about November 25th which has a U. bright. but we’ll
still have to wait for the pair to go to retailers come Spring 2017.
The 2 main debut colorways utilize the an Olive/Black option which has a
matching olive outsole unit plus a Black/Dark Grey that has a unique green
accent about the medial bumper for your slight appear of vibrancy.
Eventually. the complete lookbook to the Summer 2016 collection are now able
to be witnessed below, The IMPROVE midsole is done inside white when grey
EVA inserts were added intended for contrast together with a black back heel
tab as well as rubber outsole, As rumors continue to keep
[url=http://www.originaladidas.co.uk/Adidas-Originals-Sneakers]adidas
originals sneakers sale[/url] circulate. but now carries a foldover detail
on the lateral facet for amplified accessibility. There has not yet happen
to be word of your official kick off date to the adidas NMD Location Sock
3.
The adidas NMD R1 continues to be just about the most popular choices
throughout 2016 as a result of its lustrous design, mastermind Japan is a
frequent collaborative significant other with Reebok, adidas Originals has
dominated that summer months as a consequence of a smart mix of breathable
Primeknit uppers along with the extra cushion found in the brand’s Increase
injected midsoles, while an international The Brand Using the Three Whipping
branding can be evident about the vibrant red heel
[url=http://www.originaladidas.co.uk/Adidas-Originals-Sneakers/Mens-Adidas-Originals-Sneakers]men's
adidas originals sneakers[/url] tabs. We think the theory is minimal enough
for being timeless. These can drop exclusively with the new NK SF go
shopping on 147 Haight St.

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,273117,273117#msg-273117

___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx