Removing a request header in an access phase handler (3 replies)
Hi,I developing a handler for the access phase. In this handler I intend to remove a certain header.It seems that this is exceptionally hard to do - the only hint I have is how it is done in the...
View Article$request_header_length and $request_body_length? (1 reply)
Hello,I am trying to diagnose a weird 408 error problem on nginx.My theory is that the client might be using some kind of crack making the request body too short for Content-Length header, so nginx...
View ArticlePermissions not working for upload module (no replies)
I've recently created an RPM for Cent-Os 4 for NGINX 1.2.6 which includes the `nginx_upload_module version 2.2.0`When the files get uploaded they don't have correct permissions.They have the default...
View ArticlePossible to overwrite a fastcgi_param "later", once a location block has...
Hello,I am working with a server configuration that is partly outside of mycontrol, and have a need to overwrite a fastcgi_param "after" thedirectives that are outside of my control have already been...
View ArticleProblem with VPN IP address and Nginx (2 replies)
Hi all !When i use OpenVPN, my remote ip address detected by Nginx (not used on reverse proxy) is different than Apache (standalone, just for test), or http://whatismyipaddress.com, the ip detected by...
View ArticleWrong server used in SSL request (5 replies)
Hi everyone,I have a rather strange issue.I have a server with 3 configured urls:example.com (+ ssl)shop.example.com (+ ssl)example2.com (- ssl)If I now open https://example2.com the server of...
View Articleupdate NGINX to v 1.4.1 (2 replies)
I have a server with some ruby aplication in nginx 1.1.19 and I am wantto update to the version 1.4.1 but I can update using apt-get becausethe server no have internet. I can download the package in...
View ArticleSSL + Large file uploads (3GB+) (1 reply)
Hello,I'm having problems uploading large files (3GB) to a server with SSL enabled. I'm using nginx 1.4.2 + passenger. Files around 1GB large work fine.My /tmp mount is large enough to handle files of...
View ArticleDeploying sinatra app on rails app sub uri using( unicorn and nginx) (no...
I have rails app running on unicorn+nginx. below is the nginx.conf and unicorn.rb configuration.nginx.confupstream unicorn {server unix:/tmp/unicorn.todo.sock fail_timeout=0;}server{listen 80 default...
View ArticleCan't get SNI to work with v1.4.1 (no replies)
I'm sure I'm doing something wrong, but so far as I can tell, I've setup my vhosts according to the nginx docs, but I'm still not getting the SNI setup to...
View ArticleHelp Needed to configure NGINX reverse proxy with URL rewrite. (1 reply)
Hi,I am new on NGINX. I am looking for reverse proxy solution which can rewrite URL as well. It seems NGINX might be able to do the same thus asking for your help.Our requirement is to publish a...
View ArticleLDAP + Header Rewrite (no replies)
We have been looking around for a while on this one without luck so I figured I would see if anyone here might have an idea. Nginx seems to be able to do everything if you can just figure out how :)We...
View ArticleHSTS and X-Frame-OptionsX-DCC-x.dcc-servers-Metrics: mail.nginx.com 104;...
Hi,I've just enabled HSTS and X-Frame Options in my nginx configuration(1.2.9) and was wondering if I have done it correctly.Currently my site has 4 server blocks.One to redirect domain.com to...
View Articlehttps redirect going to infinite loop (no replies)
Hi,I am new to nginx. I am trying to redirect all request to https. This is the redirect i am usingrewrite ^/(.*) https://example.com permanent;somehow when I hit http://example.com on browser it goes...
View Articleconfiguration problem whit ngingx and unicorn (1 reply)
Hello again:I am working to configure a nginx-unicorn server but when I am finishto configuring that server and try to enter to de web site, the welcometo nginx default page open, and not my web site,...
View Articleupstream timed out (no replies)
I am a newbie.I'm running Ubuntu, Nginx and 5 Thin servers - that serve up a Ruby on Rails app.The system hangs about once a day.The Nginx log has this error:2013/07/11 10:06:46 [error] 21344#0: *201...
View Articlenginx debian 6 64bits (9 replies)
default.confserver {if ($host !~* ^www\.) {rewrite ^(.*)$ http://www.$host$1 permanent;}listen 80;server_name exemple.org;index index.html index.htm index.php;root /home/home;location / {root...
View ArticleProxy returns 504 then blocks next connections (1 reply)
I'm having an issue where I proxy a long running script and receive a 504 error when it exceeds my proxy_read_timeout setting. All of that's behaving normally -- what isn't behaving normally is that...
View ArticleReg: SCGI application deployment using NGINXX-DCC-x.dcc-servers-Metrics:...
Hi,I would like to know the procedure to deploy SCGI applicationin NGINX server.Thanks in advance--With Best Regards,P Amarnath,IPNG - Cloud Storage,Global Edge Software...
View Articleduplicating or forking incoming requests (2 replies)
I'm trying to figure out how to accomplish something with nginx and it seems to have me baffled.We use nginx as an endpoint to log incoming events. The default response is a 200, empty body and an...
View Article