Django - Deployment and Production
You want to add gzip compression in Nginx for responses from Django backend but not for static files. Which configuration correctly applies gzip only to proxied requests?
gzip on; to enable compression by default.location /static/, set gzip off; to exclude static files./ location will have gzip enabled and forwarded to Django.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions