Nginx configured with upstream sends FIN
Hello,I have nginx fronting a tomcat 6.0 server, using APR connections.I have nginx configured to communication with tomcat over HTTP/1.1:http {...upstream tomcat {server 127.0.0.1:8080;keepalive...
View ArticleNginx Setup on Amazon | WordPress Optimized for Multiple Site Hosting
After completing this tutorial, if you have followed the previous tutorial AWS Ubuntu 12.04 LTS with Nginx and WordPress, you will have a WordPress site as fast, possibly faster than what many hosts...
View Articlesub_filter
Приветствую участников!необходимо в выводимом коде страницы подменять domain для картинок - дабы статика грузилась с другого интерфейса серверачто делаю и видимо неверно или.....location ~*...
View ArticleHow to replace Varnish with NGINX
Im dealing with some forum software that always sends a no-cache header and a cookie, even for guests.This always causes my NGINX fastcgi_cache to be bypassed :(Varnish is typically used in front of...
View ArticleRe: How to replace Varnish with NGINX
SOLVEDFound fastcgi_ignore_headers Cache-Control Set-Cookie;
View Article403 / index of "usr/html" is forbidden
Hi,I've had a BOA (Barracuda, Octopus, Aegir) LEMP stack which I'm trying to get rid of(only the boa part of course).I just can't get my head around this problem. When I browse to my domain it shows in...
View ArticleRe: 403 / index of "usr/html" is forbidden
My bad :( Didn't realize that my conf file in sites-enabled did in fact have some wrong configurations.Now I would like to UPgrade to latest stable...
View ArticleRedirect domainname.com. to domainname.com - full stop at the ned of the url
Hi,Ive had a request from a seo company saying that the domian name we have is showing up as a duplicate with a full stop on the end, see below. They want me to 301 redirectwww.mydomainname.com. to...
View ArticleRe: Reverse proxy 1) through subdir 2) of a Fritz!Box config page
Forget my earlier reply! Now it works with Fritz!Box!What I did was simply to upgrade to the latest Firmware (my 7360 had a 2 year old version before), and maybe it was also helpful to enable the...
View ArticleHow to password protect /administrator/ and run php on subfolders
Hello,Can someone explain how to password protect directory /administrator/ and let runs php in all subdirectories.I can protect /administrator/ but if I try to run /administrator/app2/test.php it is...
View ArticleNginx unable to match server_name if the server can not resolve the host
I have a server block with the following configuration:server {...listen *:80;server_name ~^query.+\.example.\com$;...}If the server is unable to resolve hosts like query.dev.example.com (Unknown...
View Articlenginx and ruTorrent
Hello!I am trying to wrap my head around my nginx config file for ruTorrent (rtorrent web interface). This file was stolen from various guides, I simply removed regular http access.Currently I have...
View ArticleRedirect Problems (with try_files)
Try as I may I can't get this to work...I am trying to migrate from apache which was configured to accept a URL with or without extensions (multiViews I think) e.g./directory/page was equivalent to...
View ArticleStop caching images on a rewrite with NGINX
Hey, I posted for help on stackoverflow quite a while back and got no reply, so i'm hoping some of you guys can help me out. You can see my post here:...
View ArticleRe: Stop caching images on a rewrite with NGINX
I randomly found a solution.I used the following:location ^~ /image {rewrite ^/image/([a-zA-Z0-9_+]+)/([a-zA-Z0-9+]+)\.png$ /img/image.php?style=$1&user=$2 last;expires epoch;}
View ArticleEscaping #
HelloI am new to nginx. I have nginx set up as a SSL proxy to Alfresco.I am having problems with file names containing #. Files containing are not retrievedI have tried rewriting usingrewrite ^(.*)$ $1...
View ArticleSPDY, SSL termination and proxy_pass
I have setup SPDY on my application and have observed some nice reductions in page load times. However in a production environment my setup is somewhat different.At the moment my setup looks like...
View ArticleShared ditributed in-memory proxy cache
Hello!Is there a module that allows to store nginx proxy cache in external shared distributed storage (like memcached or redis) instead of local filesystem?It is a good idea for increasing hits to...
View Article