Proxying and caching a fragile server to ensure availability (3 replies)
Hello colleagues. I'm trying to save a website hosted on a (VERY) low-powered server by placing a strong nginx server in front of it as a caching proxy.I don't control the website code and the rest of...
View Articlegzip compression won't disable (2 replies)
Hey all,I'm running nginx 1.2.6 from a packaged install on Ubuntu 13.04. I'm at atotal loss as to how this is happening but I simply cannot disable gzipcompression for my server no matter what I try....
View ArticleNginx mod_security leaks file descriptors (2 replies)
Hi,I have a problem with nginx and mod_security module. After reloading nginx configuration (kill -HUP <master-nginx-pid>) all files opened by mod_security are opened once again without closing...
View Articlekeepalive_timeout not working? (1 reply)
keepalives seem to be working, but the timeout limit I'm setting isn'thonored it seems.. Someone let me know if I've done something wrong oram missing something.I have nginx installed on Ubuntu from...
View ArticleNginx return empty (no replies)
I hava a website on a remote server and set the nginx servername "xiangyingdu.com abc.com"server{listen 80;server_name xiangyingdu.com abc.com;... ...... ...}I set host in my local pc.115.12.**.**...
View Article504 Gateway Time-out when calling curl_exec() in PHP with SSL peer...
Hello,I'm seeing a strange problem with nginx (1.5.2 on Windows) and PHP(5.4.8 on Windows).Whenever I make a cURL request with PHP's curl_exec() function to asecure URL (https protocol), and I disable...
View ArticleUpload timeouts after about 30 seconds (1 reply)
Hello,I've a problem with file upload and googling and checking with everythingdidn't help to solve it.The problem is when file is being uploaded larger than few megs browserrepeats request after about...
View ArticleFake Basic Auth (3 replies)
Hello,I am new to nginx and have following problem:Nginx should be used as a reverse proxy and configured for clientcertificate authentication. Backoffice application supports basic auth only.Apache...
View ArticleHow to serve PHP files outside the public folder? (3 replies)
For serving the PHP scripts, I use this locationlocation ~ \.php$ {fastcgi_pass 127.0.0.1:9000;fastcgi_index index.php;fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;include...
View ArticleSecuring nginx: Workers per server block under specific user? (2 replies)
Hello,I don't quite understand how this works. Until now I wasrunning my websites under Cherokee Web Server. Cherokee ran under userwww-data and all my websites shared the same...
View ArticleVirtualDocumentRoot with 1.4.2 (no replies)
Hi there,I've tried to replicate my Apache VirtualDocumentRoot /srv/www/%0 tonginx.I have http://dabase.com/e/04055/ withserver_name ~^(?<vhost>.*)$;root /srv/www/$vhost;access_log...
View Articlenginx-1.5.4 (no replies)
Changes with nginx 1.5.4 27 Aug 2013*) Change: the "js" extension MIME type has been changed to"application/javascript"; default value of the "charset_types"directive was changed accordingly.*) Change:...
View ArticleHelp needed NGINX reverse proxy to NODE.JS (3 replies)
Hi,I've tried this with NGINX 1.4.1-1ppa1~precise and node v0.10.17 andjust can't get it to work.What I've tried / what happens :(a) Yes, I have tested this direct between client code and nodelistening...
View Article502-Error but nothing in error.log (anymore) (no replies)
Hi there,I'm using nginx on my arm5 to run a seafile-server and ran into a couple of problems just now. when I open a page that embeds a picture from a certain folder the picture won't show. When I...
View ArticleAdd country region in logs. (1 reply)
Hello nginx!Iam trying to identify all my visitors based on their continent region,i want to log this info in each log entry. There is no geoip databasefor continent region so I want to map manually...
View ArticleServer_Name regular expression (1 reply)
I would like to syntax a regular expression which will match two server names. The server names are example.com and www.example.com. In particular, a regular expression for www or nothingI wrote the...
View ArticleCheck if variable exists in file, Using file contents for variable handling...
Is there a way to check a variable against file contents for processing? A couple scenarios below.This is used here, but adding multiple agents can get burdensome:if ($http_user_agent ~...
View Article[ANNOUNCE] Tengine-1.5.1 is released (no replies)
Hi folks,We are pleased to announce that Tengine-1.5.1 (stable version) hasbeen released!You can either checkout the source code from GitHub:https://github.com/alibaba/tengine or download the tar ball...
View ArticleRe: [nginx-announce] nginx-1.5.4 (no replies)
Hello Nginx users,Now available: Nginx 1.5.4 for Windows http://goo.gl/7UA8XZhttp://GOO.GL (32-bitand 64-bit versions)These versions are to support legacy users who are already using Cygwinbased builds...
View ArticleStrange SPDY behaviour about request time with stastic proxy cached content....
Good time of day!We use nginx as load balancer and reverse proxy for some static content (images etc).And a problem was found with enabling SPDY: cached content with enabled SPDY becomes get from...
View Article