Re: Using inline processing instructions with XSLT module?

2016-04-04 Thread tjunus...@gmail.com
Can we vote for this feature ? If it is security risk, may be sandbox it to local location only Posted at Nginx Forum: https://forum.nginx.org/read.php?2,1905,265887#msg-265887 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/list

Re: error_page behavior

2016-04-04 Thread B.R.
Whoops! Minimal test configuration FTW... There was a '/' prefix location block hidden at the bottow of my server one, with an ugly 'try_files $uri.php =404;' directive... As notes, though : I removed the '=' parameter from the error_page directive to simplify, as there is no special processing d

Nginx TCP stream access log

2016-04-04 Thread Pablo Fischer
Howdy folks, We are using nginx with stream TCP support but we are wondering if there is a way to have access logs for TCP for at least to know a few things such as: - timestamp (of request) - source address. - destination address - time. Is there a way to log this information? nginx versio

Re: error_page behavior

2016-04-04 Thread Francis Daly
On Mon, Apr 04, 2016 at 08:54:12PM +0100, Francis Daly wrote: > On Mon, Apr 04, 2016 at 09:36:36PM +0200, B.R. wrote: Hi there, > > -> Error page HTTP 404 (???) > > I only get 404 if error_page.html does not exist. If it does exist, > I get it with http 200. > > Aside from that: I suspect that

Re: error_page behavior

2016-04-04 Thread Francis Daly
On Mon, Apr 04, 2016 at 09:36:36PM +0200, B.R. wrote: Hi there, > I am struggling to understand the error_page directive behavior: I do not get the full same results that you report, when I use 1.9.2. > Expected behavior: > ->Request to http://example.com/proxy > -> Sub-request to http://ex

error_page behavior

2016-04-04 Thread B.R.
Hello, I am struggling to understand the error_page directive behavior: ​server { listen 80; listen [::]:80; server_name example.org; location /proxied { return 418 "Host: $host, Connection: $http_connection"; } } server { listen 80; listen

hide/strip set cookies on static files and howto use alias

2016-04-04 Thread JoakimR
Hi I have a few questions about how do I configure it. First question: How do I strip the "Set-Cookie" header from all static files like css and jpg? I know i can setup a reverse proxy and use "proxy_hide_header Set-Cookie", but seems like foolish to make yet another host, just to reverse to your

Re: proxy_next_upstream_timeout behavior

2016-04-04 Thread Maxim Dounin
Hello! On Fri, Apr 01, 2016 at 08:43:56AM -0700, Frank Liu wrote: > If I set proxy_next_upstream_timeout to 50 second, will nginx break the > current upstream connection at 50 second and fail the request? No. > Or will it > wait until current one finishes (or read timeout) then decide whether i

Re: 1.9.13 and non_idempotent

2016-04-04 Thread Maxim Dounin
Hello! On Fri, Apr 01, 2016 at 10:33:22PM -0700, Frank Liu wrote: > Will this work? > > --- ngx_http_upstream.c.orig 2016-03-29 15:09:31.0 + > +++ ngx_http_upstream.c 2016-04-02 05:28:17.877466756 + > @@ -3990,6 +3990,7 @@ > timeout = u->conf->next_upstream_timeout; > >