2 votes

enable gzip compression on nginx give me long time server response

It seems like the CPU is just too weak to compress the data in a timely manner. Obviously for you to have any benefit the compression and transfer of the compressed data needs to be faster then just ...
  • 191
1 vote
Accepted

Check response of one backend before proxying to another

Not a complete answer, but slightly too long for comment: The set-up you describe is in concept similar to a fairly common strategy : offload the authentication to one system use your reverse proxy ...
  • 1,153

Only top scored, non community-wiki answers of a minimum length are eligible