auth_request and nested locations (5 replies)
Except for a few exceptions, I want to require authentication for anentire site. The safest place would be to put the auth_requestdirective at the http level but there's no way to allow theexceptions....
View ArticleFwd: reverse proxy (3 replies)
Hi all,I configured an nginx server as a reverse proxy few months ago. i haveapache server as a back end of the reverse proxy. Every thing workedwell until i start to use ssl.When i try to redirect...
View ArticleHelp me!!! About Content-Type header parse (1 reply)
When I used multipart/form-data, I find that:1. Content-Type: multipart/form-data; boundary=----------------------------4db878605894\r\n2. Content-Type: multipart/form-data;...
View Articlenginx mail starttls ip based (1 reply)
Hello,I'm new in nginx world. I would like to configure a single nginx serverto proxy imap/pop servers with starttls option.I would like that the "starttls" could be "on" on a list of known safe IPsand...
View Articlenginx on multi ip address (2 replies)
My webserver has two ip(192.168.0.10 and 200.12.12.10).And I have many hosts running on these ip.most of them configured like this:server {server_name server1;listen 80;};server {server_name...
View ArticleDynamic Mass vhosts / reverse proxying (5 replies)
I'm trying to configure mass (300+) dynamic vhosts and reverse proxying.users come in at: https://test.abc.example.com and should be transparantly proxied to: http://foo.abc.somethingelse.netAnyone who...
View Articlenginx-1.2.6 (6 replies)
Changes with nginx 1.2.6 11 Dec 2012*) Feature: the $request_time and $msec variables can now be used notonly in the "log_format" directive.*) Bugfix: cache manager and cache loader processes might not...
View ArticleRe: [nginx-announce] nginx-1.2.6 (no replies)
Hello Nginx Users,Now available: Nginx 1.2.6 For Windows http://goo.gl/FMg4H (32-bit and 64-bitversions)These versions are to support legacy users who are already using Cygwinbased builds of Nginx....
View Article[ANN] ngx_openresty devel version 1.2.4.13 released (no replies)
Hello, folks!I am happy to announce the new development version of ngx_openresty,1.2.4.13:http://openresty.org/#DownloadThis is possibly the last development release in the 1.2.4.x series ifno...
View Articleconnect_timeout option for proxy_next_upstream (no replies)
I posted this question in another thread but I received no answer, sorry to ask again.On my current set up, I'm using the timeout option to make sure the request is passed to the next upstream if the...
View ArticleUpload Progress (5 replies)
Hello,I recently installed http://wiki.nginx.org/HttpUploadProgressModulewith nginx 1.2.6.On the client side I have a request coming every second to check onthe upload status. As I watch the access.log...
View ArticleHelp with specific redirect to https (8 replies)
I'm trying to redirect anyURL that contains "UserLogin" (ie: Mediawiki) tohttps. This is what I've tried:rewrite .*UserLogin.* https://domain.com$request_uri? permanent;----rewrite UserLogin...
View ArticleRandom Internal Server Error (2 replies)
Hi,I'm having trouble with my nginx showing totally random Internal Server Error.I'm running gunicorn with nginx as a reverse proxy. My error log (info) shows:"upstream sent too much data while reading...
View ArticleLogging errors via error_page + post_action? (no replies)
HiIn our nginx setup we use proxy_pass to pass most requests to backendservers.We like to monitor our logs regularly for any errors to see thateverything is working as expected. We can grep the nginx...
View Articleset cookie if not already set (1 reply)
I figured out a simple solution so thought to share it ( to get feedback or may be to help ). In an earlier discussion I got to know about map and why one should avoid to use if an try to use map.http...
View ArticleSSL performance optimization with cache (4 replies)
Hello,I am optimizing our install of nginx for SSL performance, since our SaaS app is served exclusively over https. I have the following SSL performance directives:ssl_session_cache...
View ArticleSetting expires header to multiple locations (5 replies)
Currently I need to use tricks since I have multiple locations in my siteconfig.e.g.=====================================location ~* /a {location ~* ^/.*\.(?:css|js|jpg|jpeg|gif|png)$ {expires...
View ArticleNginx server_name command being ignored (14 replies)
Hi, I'm running ubuntu server 12.04 and the latest version of nginx. The problem I am having is that nginx seems to be ignoring the server_name command, I am able to access the server by going to the...
View ArticleNginx to listen on two IPs (2 replies)
HelloI have this server with Nginx that have like 4 subdomains and defaultlocalhost set.I also have as econd network card that have an internal IP 192.168.1.2.How can I define another server that will...
View ArticlePlease helpe me, hacking the module Gzip Pre-Compression Module (1 reply)
Hello,I wrote to Igor but do not have the response so I write my question here and please help me.Firse of all, excuse me for my bad english!!!!!I hack the module "ngx_http_gzip_static_module.c" and I...
View Article