Can't disable gzip encoding for specific path with `not path`matcher

Hmm, your config does look right.

Could you provide logs that show a request to the path you’re trying to fix? The logs you gave aren’t showing relevant information here. You might need to add the log directive to make more info appear.

I don’t think this is necessary for you here. The php_fastcgi directive does its own try_files, so I’m pretty certain you can just remove this line without issue!

1 Like