P
P
pcdesign2016-05-05 14:02:38
Nginx
pcdesign, 2016-05-05 14:02:38

How to correctly set up gzip compression when two Nginx are in the chain?

There are two servers:
1) Nginx with a white IP, which proxies to a gray IP - 192.168.1.33
2) Nginx 192.168.1.33, which already directly works with php-fpm
Question: how to configure gzip compression in this case?
And what should be the lines about this on the 1st and on the 2nd server?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2016-05-05
@pcdesign

on the second gzip off;
on the first gzip on;
why on gray nginx?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question