Quantcast
Channel: Nginx Forum
Browsing all 53287 articles
Browse latest View live

proxy pass server based on request method

We want to pick the backend server to proxy_pass to based on the request method. Saw one example that used limit_except. Another idea would be to use lua. Is there a preferred way to achieve this?Karl

View Article


Re: Patch proposal: allow alternatives to 503 status code in limit_req module

Hello!On Fri, Mar 01, 2013 at 09:23:08PM -0500, Nick Marden wrote:> Hey there,>> I've been doing some work using limit_req to prevent overzealous clients> from DOS'ing my site....

View Article


Re: nginx mailing-list and sender filtering (vs BATV)

On 2013-03-03 at 02:11 +0400, Maxim Dounin wrote:> You probably didn't understand the problem deep enough: contentI'm one of the maintainers of the MTA which runs a plurality of the MTAinstalls out...

View Article

How can nginx reverse proxy google app engine via SPDY?

In China , government block google app engine by GFWSo , I use a nginx reverse proxy (proxy_pass) to google app engine via httpsMy Site need https to keep security , so I want to know can I let...

View Article

Re: How can nginx reverse proxy google app engine via SPDY?

My answer would not be 'Google is your friend' but the even better: RTFM :oPhttp://wiki.nginx.org/HttpProxyModule#proxy_pass---*B. R.*On Sun, Mar 3, 2013 at 12:45 AM, 张沈鹏 <zsp042@gmail.com>...

View Article


Re: How can nginx reverse proxy google app engine via SPDY?

I write this and it success proxyed , but I want to let the proxy use SPDYthere is no how to use SPDY in revese proxy in the documentserver{listen 443;server_name 42btc.com;ssl on;ssl_certificate...

View Article

Re: How can nginx reverse proxy google app engine via SPDY?

On Mar 3, 2013, at 10:58 AM, 张沈鹏 wrote:> I write this and it success proxyed , but I want to let the proxy use SPDY> there is no how to use SPDY in revese proxy in the documentThere's not SPDY...

View Article

Re: Как работает связка ip hash и weight ?

07.02.2013 11:58, Maxim Dounin wrote:> Hello!>> On Thu, Feb 07, 2013 at 01:47:30AM -0500, gintonic wrote:>>> Всем привет.>> Объясните пожалуйста как работает данная связка....

View Article


Re: Как работает связка ip hash и weight ?

> Тоже наблюдаю картину когда запросы с одного ip попадают на разные бекенды.> Если убрать weight то всё ок. Нигде не могу найти описание алгоритма работы> ip_hash совместно в weight."Метод...

View Article


Re: fastcgi cache valid для разных location'ов

Namaste Wrote:-------------------------------------------------------> Да, заработало. Правда как-то странно. Я спрашивал не можно ли> заинклудить, а можно ли заинклудить И продублировать один...

View Article

Re: Как работает связка ip hash и weight ?

03.03.2013 10:36, VovansystemS wrote:> И так работает всегда. Weight в данном случае ни на что не влияет.> Если конфиг верный, возможно периодически "пропадают" сервера (нужно> копать в...

View Article

Re: Optimal nginx settings for websockets sending images

Hello!On Fri, Mar 01, 2013 at 11:54:06PM -0500, michael.heuberger wrote:> thank you so much maxim>> i have read the documentation at>...

View Article

Re: Как работает связка ip hash и weight ?

>> И так работает всегда. Weight в данном случае ни на что не влияет.>> Если конфиг верный, возможно периодически "пропадают" сервера (нужно>> копать в сторону fail_timeout и...

View Article


FastCGI cache has stopped working

Nginx's FastCGI caching used to work perfectly for me, but recently it stopped working and I can't work out why.This is how the headers look:HTTP/1.1 200 OKServer: nginx/1.2.7Date: Sun, 03 Mar 2013...

View Article

Re: 502 bad gateway error with php5-fpm on Debian 7

Hi,I've solved my issue, I've moved all wordpress file into the document rootof blog.koshie.fr, modified it into /etc/nginx/conf.d/blog.koshie.fr.confaccording to my new structure and now it...

View Article


Re: Как работает связка ip hash и weight ?

Hello!On Sun, Mar 03, 2013 at 12:54:31PM +0100, ZZZ wrote:> 03.03.2013 10:36, VovansystemS wrote:> >И так работает всегда. Weight в данном случае ни на что не влияет.> >Если конфиг...

View Article

Re: FastCGI cache has stopped working

Figured it out.The Expires header ("Sun, 3 Mar 2013 13:28:24 GMT") is using a single digit for the date. If I change the "3" to "03", Nginx works as expected. RFC 1123 and RFC 822 say that both one-...

View Article


Convert Apache rewrite to NGinx

Hi,Using nginx 1.2.1 on Debian Wheezy 64 bits.My wordpress need rewrite, it gave me this:<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /RewriteRule ^index\.php$ - [L]RewriteCond...

View Article

Re: FastCGI cache has stopped working

Hello!On Sun, Mar 03, 2013 at 07:32:05AM -0500, Daniel15 wrote:> Nginx's FastCGI caching used to work perfectly for me, but recently it> stopped working and I can't work out why.>> This is...

View Article

Re: FastCGI cache has stopped working

Maxim Dounin Wrote:-------------------------------------------------------> In ths particular case I would suggest there is another caching> layer, which results in cached "X-Cache: MISS" being...

View Article
Browsing all 53287 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>