• Resolved psodfj

    (@psodfj)


    Hello,
    I am running WordPress in Docker with an Apache server. I installed WP-Optimize on two very similar instances but the more developed one in terms of content (here: https://bit.ly/3dH5yut) crashes every time I try to enable Gzip compression. The only solution then is to undo the changes to the .htaccess file.

    The more vanilla installation says Gzip is enable by deafult.

    What could be going wrong?
    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter psodfj

    (@psodfj)

    To clarify, the error is this:

    We successfully added Gzip compression settings into .htaccess file. However, the test file we fetched was not Gzip-compressed. Possible causes include that Apache (your webserver) is not configured to allow .htaccess files to take effect, or one of Apache modules – mod_filter or mod_deflate – is not active, or the webserver is configured to disallow Gzip compression. You should speak to your web hosting support to find how to enable it.

    • This reply was modified 4 years, 7 months ago by psodfj.
    Thread Starter psodfj

    (@psodfj)

    It turned out I just had to pass proxy_set_header Accept-Encoding "gzip"; to the nginx reverse proxy.
    All working now!

    • This reply was modified 4 years, 7 months ago by psodfj.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘GZIP compression problem’ is closed to new replies.