Block (1 reply)
Hello, new to all this so I apologize if my question is not formatted correctly.We only allow https from outside our network (via hardware firewall).I want to block access to usr/share/nginx/html but...
View ArticleNginx Windows High Traffic issues (11 replies)
So i spent a while on this one and turns out the problem is a little function in nginx's core called "worker_rlimit_nofile".But for me on windows (i don't know if it does it for linux users too.)...
View Article403 error logging (no replies)
Hello,I recently stumbled into a situation where I could not seem to find a wayof disabling unwanted errors being logged.Configuration:location / {try_files $uri $uri/ @https;}location @https {return...
View Article[PROPOSAL PATCH] use a return code for ngx_http_terminate_request() (1 reply)
Hello,Reading ngx_http_request.c source code, I notice some call to ngx_http_terminate_request() is called sometimes with 0 instead of a return code.0 is a correct valid for a return code ... it's...
View Article[PROPOSAL PATCH] use a return code for ngx_http_close_request() (1 reply)
Hello,here is another path still on ngx_http_request.c.In function ngx_http_close_request(), the second parameter is an error code.This error code is used in ngx_http_free_request() to set the HTTP...
View ArticleUpstream performances: what if one node only ? (2 replies)
Hi all,I am wondering about the possible extra-cost of using a single-nodeupstream into proxy_pass compared with 'proxy_pass host' directly.I need to automate application servers move, and find...
View ArticleMatching a href spec with Lua regex (2 replies)
Hi,I am trying to modify the response body in the following way :If there href="http://www.google.com", I will convert it to href="http://nginx-ip/?_url_={url-encoded-form-of www.google.com}This is...
View Articledifficulty adding headers (9 replies)
i need to ensure the Accept-Ranges header is present to serve video files while supporting forward/backwards seeking.i notice in many tutorials for nginx that this header is shown as being present in...
View Articlechanges to ngx.arg[1] not getting reflected in final response (no replies)
header_filter_by_lua 'ngx.header.content_length = nilngx.header.set_cookie = nilif ngx.header.location thenlocal _location = ngx.header.location_location = ngx.escape_uri(_location)_location =...
View ArticleSSL slow on nginx (no replies)
For my site , ssl seems to be slow even though i got A+ on sslabs (implemented ocsp stapling, Forward Secrecy , spdy)Here is the result from...
View Articledav and dav_ext, mp4 module, PROPFIND not working for files (no replies)
Somehow uploadprogress seems to be affecting a request unrelated. I am using Cyberduck on Windows to test WebDAV (over HTTPS). It successfully logs in, lists files, etc. But it does not download any...
View ArticleInconsistent behavior with Nginx's auth_request_set and...
Hi,I'm trying to use the auth_request module in conjunction with themore_set_input_headers to automatically login my users into web apps.Basically, it works like this:1. Users have some session cookie...
View ArticleCurious problem with PHP (no replies)
Hi all,I have been investigating a performance problem with mynginx/init-fastcgi/PHP set up and I'm not having much success. All ideasgratefully received.It appears as if the PHP worker processes...
View ArticleIs it ok to call header filters twice for the same response (no replies)
Hello When we configure nginx without modsecurity body filter, then the response is processed in two stages. First the headers are processed followed by the body filtersIf however, modsecurity is...
View Articleusing 'X-Accel-Redirect' in 'internal' with PHP to stream videos? (no replies)
scenario:i am using a site built with the php based social framework called elgg (www.elgg.org) and am extending elgg to stream video.i discovered that nginx is not serving the mp4 files (for example)...
View ArticleBad default for proxy_cache_key (no replies)
Hello all,I stucked a while with a config problem where proxy_cache_key default valuewas $scheme$proxy_host$uri$is_args$args".Then I realized it really didn't make. A better...
View ArticleNGINX conference October 20-22 in San Francisco, California (no replies)
Hi All,We’ve just opened a call for proposals for the first NGINX conference, nginx.conf.Please share this CFP with those you know who have good NGINX stories to share —Direct link to the CFP —...
View Articleproxy_pass_header not working in 1.6.0 (19 replies)
Hi guys,I'm currently running nginx version 1.6.0 (after upgrading from 1.4.4).Sadly I've found out, after upgrading proxy_pass_header seems to stopworking, meaning no headers is passed from the...
View Articleproxy_cache not serving file from edge server !! (2 replies)
We've an origin and edge server with nginx-1.6 . Origin web-server(Locatedin U.S) is configured with nginx_geo_module and edge(Local ISP) isconfigured with proxy_cache in order to cache files from...
View Articlepeer closed connection in SSL handshake while SSL handshaking (2 replies)
Hello,I am seeing an odd thing occur in the error logs. We are developing an API, and when our mobile devices first hit the nginx server after waking up, the mobile device is rejecting the ssl cert. In...
View Article