Answer the question
In order to leave comments, you need to log in
How to check that gzip is working and how to properly configure it in nginx?
Where in DevTools to see exactly what gzip works?
I'm trying to set up gzip on nginx. I made this config, but nothing has changed
server {
listen 80;
listen [::]:80;
server_name example.com;
root /home/deploy/example-com/dist;
index index.html;
gzip_static on;
location / {
try_files $uri $uri/ =404;
}
location /form {
proxy_pass http://form_data/form;
}
}
root /home/deploy/example-com/dist;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question