ping ?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,254535,254639#msg-254639
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
I have this in config:
---
error_page 404 =400;
error_page 500 502 503 504 =500 @close_conns;
location @close_conns {
internal;
keepalive_timeout 0;
}
I still see 502's behind returned in '$status' - Why would this happen? I
was expecting to s
Thank you MAXIM - you have been the most responsive & helpful on these
forums.
GREATLY APPRECIATED.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,254535,254548#msg-254548
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mail
Can i just do this:
error_page 404 =400;
error_page 502 =500 @close_conns;
location @close_conns {
internal;
keepalive_requests 0;
}
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,254535,254546#msg-254546
___
Can i do something like: (i don't really need a page necessarily - i am
purely interested in changing the connection from keep-aline to
connection-close)
error_page 500 502 503 504 /ServiceUnavailableError.xml;
location = /ServiceUnavailableError.xml {
root /error_pages/;
Hi There,
I want to send a connection_close to the client whenever the HTTP status is
any of the 50X codes. How could i accomplish this?
Thanks for your response.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,254535,254535#msg-254535
___
"isn't enough room in the cache."
how big is the upstream keepalive connection-pool cache size?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,249924,254426#msg-254426
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/l
Maxim Dounin Wrote:
---
> Hello!
>
> On Tue, Oct 28, 2014 at 08:01:33PM -0400, newnovice wrote:
>
> > Maxim,
> >
> >
> http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive
> >
> &g
Maxim,
http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive
I would like to know what is the keepalive timeout for this connection pool?
Is it static?
Also i want to understand - if there is a marriage between number of
connections nginx gets vs how many it opens to upstream?
cool so adding the maps & access_log config at http level solved both
problems, all logs now goto variable named file. there is no file with ---
in the name anymore.
thanks!
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,254210,254256#msg-254256
__
1. variable in logname is what i want: access_log.-MM-DD-HH
I have other log munging daemons looking for this date formatted file in
real time (other options i have tried, hard linking files, used named
pipes...)
2. (currently i use this method) 'if' - inside server - outside location -
works.
Where I am going with this is - I want to write error & access - logs out
with the '-MM-DD-HH' suffix. So i need these variables.
The 'if' statement is not allowed outside the server{} - I am at a loss due
to this. Please con you show me some examples of how to set these variables
with a ma
can a map + regex be used to generate variables for -MM-DD-HH? I cant
use 'if' in the location i am trying this.
--
I know i can do:
if ($time_iso8601 ~ "^(\d{4})-(\d{2})-(\d{2})") {
set $year $1;
set $month $2;
set $day $3;
}
or with perl regex:
if ($time_iso8601 ~ "^(\d{4})-
this is for a very fast internal only API driven service and not serving
webpages/static files/multimedia...
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,252002,252024#msg-252024
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.o
What is the fastest SSL connection setup time that anyone can achieve? and
also how do i reduce the jitter/variance..
so what settings should I take out & what shud i have - do you have an
example of an optimal config?
the logs are turned off to see first if this is even a viable option, i can
Full Config:
#user nobody;
# This number should be, at maximum, the number of CPU cores on your system.
# (since nginx doesn't benefit from more than one worker per CPU.)
worker_processes 5;
#give worker processes the priority (nice) you need/wish, it calls
setpriority().
worker_priority -10;
I am setting up a nginx reverse ssl proxy - I have a machine I can use with
2 E5-2650 CPU's and lots of RAM. I have nginx-1.6.0 + openssl-1.0.1h
installed. I have taken into consideration most optimization suggestions out
there and incorporated them. I will attach a copy of my config file.
(optim
1. Where can i get a full list of these disabled headers:
"By default, nginx does not pass the header fields “Date”, “Server”,
“X-Pad”, and “X-Accel-...” from the response of a proxied server to a
client. The proxy_hide_header directive sets additional fields that will not
be passed. If, on the co
n the
upstream_http_connection header in the response ???
Thanks for your help...
Valentin V. Bartenev Wrote:
---
> On Saturday 17 May 2014 11:28:33 newnovice wrote:
> > Can I proxy_pass on the way back also - and preserve a
Can I proxy_pass on the way back also - and preserve all headers coming from
the upstream service?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,237386,250172#msg-250172
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman
Does this also affect a 'Connection Close' header coming from the upstream
service - being sent as a connect-keep-alive to the requesting client thru
my nginx ssl reverse proxy?
(I am trying to setup nginx as an SSL proxy; when the upstream service sends
a connection close I want this to be passe
21 matches
Mail list logo