Closed httpjamesm closed 2 years ago
But why not use this in your existing reverse proxy? This wouldn't allow users to disable gzip if they wanted
Well judging by the existing config, it seemed you wanted to enable gzip.
You can also make it an option in the docker compose file to enable gzip instead.
GZIP in nginx requires further configuration than
gzip on
to properly work and have an impact on performance.I suggest adding the following lines to the nginx config to compress assets more for faster loading: