Stumped with issue of Nginx passing requests to php-fpm while using SSL (1...
Problem i have is that after attempting to login to wordpress over SSL php is not being processed/executed.I've got a Wordpress 3.5 multi-site using subdirectories.nginx version: nginx/1.4.2built by...
View ArticleSSI working on Apache backend, but not on gunicorn backend (2 replies)
Hello,I have nginx in front of an Apache server and a gunicorn server for different parts of my website. I am using the SSI module in nginx to display a snippet in every page. The websites include a...
View Articleproxy_pass not passing to dynamic $host (10 replies)
Hi,I need to do proxy_pass to host name passed in url and rewrite url as well. Since the host name is difference with each request, I cannot provide an upstream for it. Below is the nginx configuration...
View ArticleHonoring ETag of cached content (4 replies)
Hi,I'm using nginx proxy pass to cache content of our dynamic web application.In order to save some bandwidth our client application uses conditionalrequests based on ETag. However nginx ignores the...
View Article-s reload does not update logfiles time, v1.5.6 (1 reply)
A -s reload works as documented, however while the logfiles are being written to, the logfiles keep their last (before -s) time/date. Is this a known issue?After a simple restart the logfiles are time...
View ArticleDefine a proxy for Nginx (8 replies)
Hello,My Nginx servers are behind a proxy. Some PHP apps need to reach external web sites (for RSS feeds for example). I've tried this in nginx.conf :env http_proxy=http://myproxy:portbut there is no...
View ArticleHelp needed with config (2 replies)
Hi,I'm baffled. What I want to do is to serve static and php files from oneroot if they exist there, andfrom another if they don't, and give a 404 error if the file is inneither location. I have the...
View ArticleSupport for relative URL in Location header (3 replies)
HTTP status codes such as 201, 301, 302, etc rely on the HTTP Locationheader. The current standard of HTTP specifies that this URL must beabsolute. However, all popular browsers will accept a relative...
View ArticleHow to use location before rewrite (1 reply)
I have a set of rewrite rules asrewrite ^/(.*) /script.php?file=$1 last;location ~ \.php$ {php proxy}but I want to make a few exceptions aslocation = file1|file2|file3 {static delivery}but rewrite will...
View Articlemultiple ssl certificates within single server {} block (5 replies)
HiI was wondering if there's any way to have a configuration like this?server{listen 80;listen 443 ssl;ssl_certificate www.example.com.cer;ssl_certificate_key www.example.com.key;ssl_certificate...
View ArticleIts this duty to inform you many abilities regarding diverse number of Nike...
High priced black-jack shoe? How much time do everyone have on? Exactly how generally can you rinse these individuals? The best way do everyone rinse? Right after washiing do you find it just like...
View ArticleNginx 1.2.7 + Apache2 2.2.24 on Freebsd 9.1 speedtest mini hosting upload...
I have Nginx 1.2.7 + Apache2 2.2.24. Nginx config is default, no buffer sizes changed etc. I moved my speedtest mini host there and got problem with upload speed. Speedtest folder is on RAMdisk, so...
View Article[ANN] ngx_openresty mainline version 1.4.3.3 released (no replies)
Hello guys!I am happy to announce that the new mainline version of ngx_openresty,1.4.3.3, is now released:http://openresty.org/#DownloadSpecial thanks go to all the contributors for making this...
View Article499s and repeated requests (1 reply)
So, I'm running a rather standard nginx -> unicorn -> rails application, all over HTTPS. Recently, I started looking into some strange load bursts (which have been going on for a while but are...
View ArticlePHP via FastCGI in / and sub-directory location w/ different roots (2 replies)
Hi there,I am currently somewhat stuck getting the following setup up and running:I have one PHP web application residing in /usr/share/a that I'd like tohave available at /. This works as expected.I...
View ArticleFile Checking Rewriting and Handing off to Back End (2 replies)
Hi All,We're starting to make more and more heavy use of Nginx having shifted from Apache, mostly in handing off to backends running Puma and php-fpm. However, wherever possible we naturally want Nginx...
View ArticleFiltering out long (invalid) hostnames (1 reply)
Recently we have seen some kind of hacker attempt on our hostingservers, passing very long hostnames in the HTTP Host: header. Thatmeans length(hostname) was higher than 2000, for few requests even...
View Articlepartial urlEncoding when using if and $request_uri (4 replies)
Hi,I have observed strange behavior with nginx rewrites. What happens: I get request going to myserver.com/appID/path1/path2/uglyID and I need to proxy this to...
View ArticleSSL Handshake problems, nginx reverse web proxy. (4 replies)
-----BEGIN PGP SIGNED MESSAGE-----Hash: SHA1I am working on setting up an http reverse proxy in front of apre-packaged jetty server. The jetty server is a pre-configuredapplication, and not very...
View Articlelimit_req_zone limit by location/proxy (7 replies)
For the life of me I can't seem to get my configuration correct to limitrequests. I'm running nginx 1.5.1 and have it serving up static content andpushing all non-existent requests to the apache2 proxy...
View Article