Re: basic nginx setup help as load balancer

2016-07-06 Thread Reinis Rozitis
Thank you. In my setup all 3 servers in the upstream block will answer requests for "myapplication.net" . Knowing that, would you say my config I have is sufficient? It should be yes. rr ___ nginx mailing list nginx@nginx.org

Re: basic nginx setup help as load balancer

2016-07-06 Thread Reinis Rozitis
> I'm new to servers and proxies, > But don't you think running both nginx and Apache on port 80 of same machine > will cause one of those to fail to start. > In my opinion backend should be on different IP:port combination. > Please correct me if I'm wrong. It is correct (though you can work

Erro 499 help

2016-07-06 Thread NemoPang
My web architecture is: nginx(reverse proxy) -> nginx + php-fpm It's normal when i curl it on pc(linux shell and pc Browser). This's nginx(reverse proxy) access.log: 117.136.40.0 - - [06/Jul/2016:17:38:31 +0800] "GET /a.php HTTP/1.1" 200 66 ... It's not normal when i access it on my

Re: How to leverage HTTP upstream features

2016-07-06 Thread Maxim Dounin
Hello! On Tue, Jul 05, 2016 at 05:00:03PM -0400, Charles Orth wrote: > I'm new to nginx... > I would like to define upstream handler in HTTP without a HTTP server > listener. From SMTP/POP3/IMAP I would like > to use the upstream handler for my http endpoint. Thus requiring > http_upstream

Nginx static file serving - Some files are 404, some not

2016-07-06 Thread Lantos István
I have the following server configuration block: > > > > > > > > > > > > > > > > > > > > > > > > > *server {# Running portlisten 80; # ipv4listen > [::]:80; # ipv6server_name localhost;root > /var/www/html;# Proxying the connections connectionslocation / > {

Re: Nginx static file serving - Some files are 404, some not

2016-07-06 Thread Richard Stanway
Check out try_files. http://nginx.org/en/docs/http/ngx_http_core_module.html#try_files On Wed, Jul 6, 2016 at 3:44 PM, Lantos István wrote: > Sorry, the parent folder, /images/art was uncommented in .gitignore, > that's why didn't uploaded into my repo. Problem solved. >

Re: Setting ssl_ecdh_curve to secp384r1 does not work

2016-07-06 Thread Maxim Dounin
Hello! On Wed, Jul 06, 2016 at 09:15:59AM +0200, Florian Reinhart wrote: > Is there any way to know what curves "auto" will include on my > system? This is not currently possible, AFAIK, and depends on the OpenSSL library used. Here is a short summary for varions OpenSSL version I've

Re: Nginx static file serving - Some files are 404, some not

2016-07-06 Thread B.R.
location / only means 'a location which starts with /'. Basically, this catches every single request, and is the least specific way (lowest precedence ever) to do so. When choosing the most suitable location block, nginx will most of the time use a more specific one. That is why this is called

Re: SNI support for nginx

2016-07-06 Thread Yichun Zhang (agentzh)
Hello! On Tue, Jul 5, 2016 at 11:57 PM, Christian Rohmann wrote: > On 07/04/2016 12:31 PM, Sushma wrote: >> Or is there a way, nginx will be able to dynamically figure out the cert to >> be presented without it being explicitly mentioned via the directive >> ssl_certificate? > > After some

Re: Nginx static file serving - Some files are 404, some not

2016-07-06 Thread Lantos István
Sorry, the parent folder, /images/art was uncommented in .gitignore, that's why didn't uploaded into my repo. Problem solved. Still, is there any method to share static files? Something like expose the public folder into / URL, but without blocking the route? 2016-07-06 14:38 GMT+02:00 Lantos

Re: basic nginx setup help as load balancer

2016-07-06 Thread Pratyush Kumar
I'm new to servers and proxies, But don't you think running both nginx and Apache on port 80 of same machine will cause one of those to fail to start. In my opinion backend should be on different IP:port combination. Please correct me if I'm wrong. On 05-Jul-2016 21:41, "NdridCold ."

Re: Setting ssl_ecdh_curve to secp384r1 does not work

2016-07-06 Thread Florian Reinhart
Hi Maxim! Thanks for investigating this! I thought ssl_ecdh_curve was only used to specific curves for ECDHE. Is there any way to know what curves "auto" will include on my system? —Florian > On 05 Jul 2016, at 20:16, Maxim Dounin wrote: > > Hello! > > On Tue, Jul 05,

Re: SNI support for nginx

2016-07-06 Thread Christian Rohmann
On 07/04/2016 12:31 PM, Sushma wrote: > Or is there a way, nginx will be able to dynamically figure out the cert to > be presented without it being explicitly mentioned via the directive > ssl_certificate? After some research not statically by configuration. But using a bit of lua could offer a

Re: Setting ssl_ecdh_curve to secp384r1 does not work

2016-07-06 Thread Kurt Cancemi
Hello, The following are in auto: secp256r1 secp521r1 brainpool512r1 brainpoolP384r1 secp384r1 brainpoolP256r1 secp256k1 If not configured with OPENSSL_NO_EC2M sect571r1 sect571k1 sect409k1 sect409r1 sect283k1 sect283r1 #endif From OpenSSL source:

http 2 status

2016-07-06 Thread 洪志道
Hi, Could anybody tell me the http 2 status, and what's level of support by nginx? Thanks so much! B.R. ___ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel

[nginx] Use NGX_MAX_PATH_LEVEL where appropriate.

2016-07-06 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/8bf484eef9ab branches: changeset: 6617:8bf484eef9ab user: Ruslan Ermilov date: Wed Jul 06 13:22:29 2016 +0300 description: Use NGX_MAX_PATH_LEVEL where appropriate. The macro was unused since 0.7.44. diffstat:

[nginx] Version bump.

2016-07-06 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/82b0cd4a0324 branches: changeset: 6616:82b0cd4a0324 user: Ruslan Ermilov date: Wed Jul 06 13:10:06 2016 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)

Re: помощь proxy bind transparent

2016-07-06 Thread Pavel Odintsov
Боюсь, что то, чего вы добиваетесь называется иностранным словом IP spoofing со всеми вытекающими следствиями из трактования данного слова. 2016-07-06 23:40 GMT+03:00 jtiq : > Roman Arutyunyan Wrote: > --- >> On Wed,

Re: [PATCH 1 of 2] HTTP: add support for trailers in HTTP responses

2016-07-06 Thread Piotr Sikora
Hey Maxim, > I'm not convinced this feature is needed at all. It looks more > like a Google-specific experiment, and this is not something I > would like to see in nginx code. Wait, what? Are you talking about trailers as defined in RFC7230 (and previously in RFC2616 from 1999, when Google

unused ngx_http_headers_out

2016-07-06 Thread 洪志道
Hi, It seems the global variable 'ngx_http_headers_out' in src/http/ngx_http_header_filter_module.c isn't used at any where. B.R. ___ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel

Re: proxy pass и передаваесые заголовки

2016-07-06 Thread skeletor
Спасибо, теперь ясно. Posted at Nginx Forum: https://forum.nginx.org/read.php?21,268065,268103#msg-268103 ___ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-ru