forced 404 without a location display ? (3 replies)
I have some servers where I use an old method of gating a path by using a file check. this allows staff to turn off certain locations during migrations/updates without having root privileges (needed to...
View Articlenginx not using root from location (4 replies)
Hello. I'm obviously missing something but I'm not quite sure what. Here's one of my vhosts. server { listen 80; server_name test.local; access_log /var/log/nginx/access.log; root /data/www/htdocs/web;...
View Articlengx_http_upstream_process_non_buffered_request recv question (2 replies)
size = b->end - b->last; if (size && upstream->read->ready) { n = upstream->recv(upstream, b->last, size); if (n == NGX_AGAIN) { break; } if (n > 0) {...
View Articlelimit_req_zone key cache lifetime (2 replies)
I'm looking for documentation or explanation for how keys expire in the limit_req_zone. I have the basic documenations here: *A client IP address serves as a key. Note that instead of $remote_addr, the...
View ArticleGetting realpath for a request (no replies)
Hi, I am creating a nginx proxy handler to talk to a backend server. In that handler, I would like to get the physical path of the file to be served by a request. The file can be present in the docroot...
View ArticleIssue playing back multiple RTMP live streams (no replies)
Server: Linux CentOS 6.(x) NGINX with RTMP module enabled (compiled myself using an online tutorial) I use FFmpeg to stream to this server, and one stream works perfectly. Example of perfectly working...
View Article"502 Bad Gateway" on first request in a setup with Apache 2.4-servers as...
The error I am getting in the logs: "upstream prematurely closed connection while reading response header from upstream" After the first request it works for 10-15 seconds without any problem....
View ArticleWeird problem with redirects (1 reply)
Hello, I have a weird problem that suddenly appeared on a client's website yesterday. We have a redirection from non www to www and sometimes the redirection sends somewhere else: [root@genious33...
View ArticleImages loaded but not displaying (3 replies)
Hi, i have installed nginx/1.2.1 on a debian 7 server, the image seems to have been loaded but shows broken & are not displayed on my index.html page here is what did, html> <head>...
View ArticleSlow performance when sending a large file upload request via proxy_pass (no...
I'm trying to diagnose some strange behavior in my web app, and at the moment it seems like nginx may be at fault, though I'd be happy to learn otherwise. On the client side, I'm using flow.js...
View Articlewhile building own nginx module error to find user defined header file (no...
Hi All, I have written my own nginx module and i have my user defined header files but while building i am getting error header file not found. my module will act as a filter. Please help me. Regards,...
View Articlefix ngx_reset_pool (1 reply)
# HG changeset patch # User Liang Sijian <liangsijian@foxmail.com> # Date 1468859189 -28800 # Tue Jul 19 00:26:29 2016 +0800 # Node ID 45ef1e0a48a82b2a81db6bc447aaeb16a10056f9 # Parent...
View ArticleNginx $upstream_cache_status not available when used in rate limiting (no...
Hi, I use Nginx as reverse proxy, and I would like to rate limit the requests to origin server, but only limit the requests with cache status EXPIRED. I just tested with a map "cache_key", and the rate...
View Articleerror nginx: [emerg] dlopen() "/usr/local/nginx/modules/ds_http_module.so"...
Hi All, I am getting error below error for own written module ds_http_module. nginx: [emerg] dlopen() "/usr/local/nginx/modules/ds_http_module.so" failed (/usr/local/nginx/modules/ds_http_module.so:...
View Articlengx_http_upstream_status_variable question (no replies)
ngx_http_upstream_status_variable len = r->upstream_states->nelts * (3 + 2); write status to string, one status str len would be 3 in most case, like 200, 302, 404.... but if upstream multi...
View Articleerror while building own nginx module (no replies)
Hi i have written own nginx module and i have many header ,src and makefiles files . my nginx module folder structure look like below /product/src/nginx/ngx_http_auth_module.cpp...
View ArticleFwd: [njs] Updated README to reflect changes in HTTP and Stream modules. (no...
Hello, For those who doesn't follow njs project closely: Roman and Igor just added njs support to the stream module and moved js scripting to separate files. More details in the project README file you...
View Articleso_keepalive option for outbound sockets (no replies)
Hello, I've configured the so_keepalive option for a server (this is also my default server). I do have other server configs listening to the same port. ======== listen 9822 default_server...
View Articlehow i can use third party library while building own nginx module (1 reply)
Hi, how i can use third party library while building own nginx module as i am using third party libraries. Thanks, Pankaj _______________________________________________ nginx mailing list...
View ArticleUsing variables on configuration (map?) for regex (no replies)
Hi I'm trying to /clean/ up a config file and I'm having a headache trying to do it. Consider the following scenario: * Users from group gfoo must be allowed to GET URL foo, while adminfoo must be able...
View Article