How to send a REST request to another node if the service on the current node is not available?

2015-05-31 Thread Lu, Boying
Hi, All, We setup a cluster of three nodes and running ngix on each node to load balance. I found that if a REST service is unavailable on current node, the corresponding REST request sending to this node will return the service unavailable response to the client. Is there a way (e.g. configur

Re: mail proxying

2015-05-31 Thread steve
Hi, On 31/05/15 11:58, dethegeek wrote: Hi I'm setting up nginx as a reverse proxy for a postfix / dovecot setup. My imap server requires STARTTLS usage. Nginx seems to not issue STARTTLS command before forwarding users credentials. Here is the error I found in /var/log/nginx/error.log [erro

Add header based on fastcgi response

2015-05-31 Thread Szépe Viktor
Good morning! I'd like to add a X-Fastcgi-Cache header when there is a fastcgi cache hit, when the response is stored to or retrieved from the cache. add_header X-Fastcgi-Cache 600; Could you help me? Thank you. Szépe Viktor -- +36-20-4242498 s...@szepe.net skype: szepe.viktor Budap

Re: mail proxying

2015-05-31 Thread Andrew Hutchings
Hi, Unfortunately not with Nginx. You could, however, use stunnel on the backends to do this. Kind Regards Andrew > On 31 May 2015, at 00:58, dethegeek wrote: > > Hi > > I'm setting up nginx as a reverse proxy for a postfix / dovecot setup. > > My imap server requires STARTTLS usage. Nginx