500 error when posting, no message in error logs (1 reply)
Hi All,I'm running nginx 1.4.1 on OpenBSD 5.4 stable along with php and php-fpm version 5.3.27 and mysql 5.1.70 on two systems. I'm trying to install piwigo-2.6.1 and running into an issue on of of the...
View ArticleServing static files statically with GET, everything else to backend (no...
Hello folks,Maybe this will save some time to someone.I have a setup where I serve a web application as follows:* server A with nginx handles directly as much static content as possible* only requests...
View Articlecorrect usage of proxy_set_header? (1 reply)
Hello all!I have configured a location that acts list a transparent proxying cache:location /get{set $hostx "";set $addrs "";if ( $uri ~ "^/get/http./+([^/]+)/(.+)$") {set $hostx $1;set $addrs...
View ArticleNginx 400 error (1 reply)
I use nginx proxy tomcat, but there have been many 400 error, about 10%.But do not use nginx, tomcat can normally handle this part of the request.This is my nginx configuration :user...
View ArticleCompile error with OpenSSL source on Solaris 11 sparc (no replies)
Hi.My system: uname -a:SunOS web-srv 5.11 11.1 sun4v sparc sun4vMy configure line:/configure --prefix=/opt/nginx --group=webservd --user=webservd --with-cc-opt='-I ../pcre-8.34' --with-cpu-opt=sparc64...
View ArticleNginx not passing http request to backend server (no replies)
Hi,I have configured Nginx as a reverse-proxy to pass http requests to backend servers.When i try to see the domains thay all show me the default page of Nginx.The config file is in...
View Articleheaders_in_hash (2 replies)
Creating a module, I want to read in from config desired http header fields. Then, during config still, I want to get the struct offset for the fields that have dedicated pointers in the header_in...
View ArticleRetrying proxy_pass on connection failure or similar (no replies)
Hello,I was wondering if proxy_pass has any ability to retry ECONNREFUSED, or aconnection timeout, or similar?It looks like proxy_next_upstream is fairly close to what I want, though Iwould rather not...
View Articleinlining (6 replies)
Looking through the codebase, I see a lot of very short helper like functions that are defined in .c files with prototypes in .h files. This means that the compiler cannot inline them outside of that...
View ArticleProxy cache passes GET instead of HEAD to upstream (2 replies)
I'm trying to figure out how to get Nginx to proxy cache HEAD requests as HEAD requests and I can't find any info on google.Basically, I have an upstream server in another datacenter, far away, that I...
View ArticleMinimal configuration (10 replies)
One could imagine a minimal server configured as such:in */nginx/nginx.conf:http {#All default http stuff, like MIME type inclusion, etc.include conf.d/*.conf}in */nginx/conf.d/default.confserver...
View ArticleWay to pass all HTTP requests headers verbatim to PHP-FastCGI server? (1 reply)
Hi,I would require to access via PHP a client's unmodified HTTP requestheaders. Using standard PHP variables ($_SERVER etc.) isn't an optionsince these store headers in normalized form; but I would...
View Articlegrunt deploy and nginx root dir (no replies)
Just curious if anyone out there is using grunt and how you deal thepossibility of race conditions, i.e. people trying to access old assetsjust as grunt is creating/renaming new ones.I'd be interested...
View ArticleNginx ask me to watch error log but error log is empty (3 replies)
Hello,Sometimes I get a 403 error also "Un error occured. Faithfully yours, nginx." with nothing in error.logAlready checked/var/log/nginx/error.log/usr/local/nginx/logs/error.logBoth of them are chmod...
View ArticleWebdav Access (no replies)
Hello,i has read that i can use nginx as webdav server. I has set up the configwhich was on wiki but the access make me trouble. Can i set so that allis allowed from my dyndns address? Or best...
View Articlerewrite except one directory (5 replies)
Hello,I'm using the following rewrite options{try_files $uri @pico;}location @pico{rewrite ^(.*)$ /index.php;}So I would like to disable the rewrite for one subfolder. I have some PHP scripts with...
View ArticleHTTP-Post data with Tomcat (1 reply)
Hello,I'm using Nginx as proxy for a Tomcat 7. My configuration shows:upstream tomcat {server 127.0.0.1:9090 fail_timeout=0;}location /jenkins{proxy_set_header Host $http_host;proxy_set_header...
View ArticleNginx like Rewrite feature (.htaccess) doesn't seem to be working (Help) (1...
Good Morning.I'm making a site and I want to make the link more usable so I used theApache's RewriteCond which is the one I more comfortable with. I know thatthere are a site or two that lets me...
View ArticleWSGIScriptAlias (no replies)
I want to put my Django application behind Nginx. I have got it workingwith Apache as -WSGIScriptAlias /app /home/ubuntu/project/settings/wsgi.pyWhat is the equivalent of this in Nginx? I have tried...
View Article1.5.10 doesn't like curl -I (1 reply)
I've built up a version of 1.5.10 on amazon linux 2013.09 which supportsspdy and ngx_pagespeed... configure looks like this:../configure --prefix=/etc/nginx \--sbin-path=/usr/sbin/nginx...
View Article