Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brotli_static and proxy_pass #125

Open
onemantooo opened this issue Dec 8, 2021 · 0 comments
Open

brotli_static and proxy_pass #125

onemantooo opened this issue Dec 8, 2021 · 0 comments

Comments

@onemantooo
Copy link

Hi. We have brotli installed on our nginx reverse proxy, and on the fly compression works fine, but:
We decided to precompress files in our app(some of them hosted also with nginx - but all without brotli).
So when we set brotli off and brotli_static on - brotli compression won't work at all. I think it's because brotli_static designed to work with files and not proxy and it's probably ok, but is there any way to force our reverse proxy look for precompressed files (script.js.br) and if not found - fallback to gzip?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant