mod_auth_request + php5-fpm gives error 504 on POST requests, GET requests...
Setup: php5-fpm listening on socket + nginx 1.2.6Wanted to use mod_auth_request for www authentication. Works fine for GET requests, POST requests time out with error 504.Error log:2013/02/24 00:13:03...
View ArticleProblem with proxy_set_header $ssl_client_cert (1 reply)
Hello,I am having an issue while verifying client SSL certificates. Everything works fine until I attempt to forward the cert onto the upstream.Once I add a line similar to the following in my location...
View ArticleOptimize rewrite (no replies)
helloI have a script that works with apache but I want to migrate to nginx, Ihave this rule, but maybe you can do differently optimized.## HTACCESS<IfModule mod_rewrite.c>RewriteEngine...
View Articlerds-json generate json with index key on first level of array (4 replies)
Hello Nginx listI'm using OpenResty with libdrizzle to provide a faster API to querycertain things from my db.My current config is like this:location ~* ^/resty/usersTable/userId/([0-9\,]+)$...
View ArticleProxy without buffering (2 replies)
Hello,Large POST-request are buffered to disk, before passed to the backend.The backend has troubles to parse the POST-data, if the requests are huge (some GB).We use "haproxy" in front of "nginx", to...
View Articleproxy_temp_path is very slow (1 reply)
Hello,I'm using proxy_cache with nginx. I have nginx set as proxy cache to get the file from servers in onother country.Sometimes I have almost 3000 files in the temp path, and my disk I/O is very...
View Articlesplit-clients for vhosts how? (no replies)
Hallo,what is the right way to use the Module ngx_http_split_clients_module with some vhosts?Varix
View ArticleOptimal nginx settings for websockets sending images (1 reply)
Hello guysThe recent nginx 1.3.13 websocket support is fantastic! Big thanks to the nginx devs, it works like a charm.I only have performance issues. Sending images through websockets turns out to be...
View ArticleVirtualhosts and map (1 reply)
What is the best way to configure virtualhost with map?Varix
View ArticleFloating Point (2 replies)
Hi,I am working on a module for load balancing. I have to make use of the typefloat. Can anyone please tell me if there is any nginx specific data typefor float such as the one that exists for int...
View Articlelua-resty-upload instead of HttpUploadModule? (no replies)
_______________________________________________nginx mailing listnginx@nginx.orghttp://mailman.nginx.org/mailman/listinfo/nginx
View ArticleFastCGI stderr being truncated (1 reply)
Whilst investigating a series of 502 errors I have noticed that related error messages from FastCGI stderr are being truncated and at other times the error logging seems to fail part...
View ArticleUsing Nginx auth in PHP scripts (7 replies)
Hello,The only information I got on the Web was to protect folders with Nginxauth, just like the plein old Apache's .htaccess.I am already using AuthPlain to secure a folder with Nginx, using...
View ArticleWant to access UNIX environment variable (1 reply)
Hi,I have system where I have defined OS environment variable $ENV=prod or dev. I want to access this variable inside my nginx configuration. Please help.I have tried -g "env ENV" in command line. But...
View Articleproxy_cache_path with huge zone size (2 replies)
Hello,I have some troubles to configure my reverse proxy cache.I would like to use a proxy cache with about 5 TB.If I estimate an average file size of 128KB, I need to define my zone size to about 5GB....
View Articleinclude_shell (no replies)
i needed a small feature for own purposes and pushed to github, include config generated by program at nginx startup.https://github.com/korneil/ngx_include_shell_module
View ArticleExchange / Outlook - RPC Method and Error 405 (no replies)
Hi all,I've tried to do some research on this already, but without much luck. So I'm hoping others may be able to assist.I'm trying to use Nginx as a Reverse Proxy back to an Exchange 2007...
View Articleproxy_cache and internal redirect (3 replies)
Hello.Can you please tell how to enable caching of responses with 'X-Accel-Redirect' headers.Nick._______________________________________________nginx mailing...
View ArticleLocation regex + if + basic auth to restrict directory access (no replies)
Hello,I am using basic auth + $remote_user variable send to the back-endapplication to change context depending on the logged-in user.The thing is, even if the page rendered by the back-end uses nginx...
View ArticleHow to set up SPDY Protocol over Nginx? (5 replies)
Hi GuysI am having problem setting up the SPDY protocol for my rails app over nginx. Here is the complete detail of the setup on...
View Article